Contact an Expert

Thread: N6700B control with Labview


Permlink Replies: 3 - Pages: 1 - Last Post: May 9, 2012 3:14 PM Last Post By: MattC Threads: [ Previous | Next ]
MakeItWork

Posts: 2
Registered: 05/09/12
N6700B control with Labview
Posted: May 9, 2012 8:51 AM
Click to report abuse...   Click to reply to this thread Reply
I am using Labview and TestStand to control three N6700B. I have a test setup consisting of 6 test sockets running in parallel. TestStand is setup for AutoSchedule, allowing the test equipment to be utilized when it becomes available. Each N6700B provides power to two test sockets. I am having trouble with both test sockets trying to access the power supply at the same time causing a VISA timeout to occur and locking up the system. When this occurs, they are typically in different stages of the test process. I have Locks set in TestStand around each interaction with the power supply to allow only one socket at a time access the PS, but that isn't always working. How do I ensure that one test socket is done talking to the power supply before giving access to the other test socket? Do you have any example LabView code of how that can be done? Any suggestions would be greatly appreciated.
Thanks
MattC


Posts: 196
Registered: 03/19/10
Re: N6700B control with Labview
Posted: May 9, 2012 11:50 AM   in response to: MakeItWork in response to: MakeItWork
Click to report abuse...   Click to reply to this thread Reply
Hi.

I am sorry, we do not have any test code. Are you using LAN when you do this? Any way that I can see your program? Is it possible that you are doing a lot of opens without closing the sessions? There is a limited amount of resources and that could cause some timeouts.

Matt
MakeItWork

Posts: 2
Registered: 05/09/12
Re: N6700B control with Labview
Posted: May 9, 2012 1:59 PM   in response to: MattC in response to: MattC
Click to report abuse...   Click to reply to this thread Reply
Matt,

I am using the USB interfaces to communicate with the supplies. I attached the two main VIs that are used along with the Agilent specific ones. I don't believe they are being left open. I'm including screenshots of the VIs incase you don't have LabView handy.

Thanks,
Tracey
MattC


Posts: 196
Registered: 03/19/10
Re: N6700B control with Labview
Posted: May 9, 2012 3:14 PM   in response to: MakeItWork in response to: MakeItWork
Click to report abuse...   Click to reply to this thread Reply
Off the top of my head, you might want to consider using a *OPC? command. This query will return a 1 after all pending operations are complete. This should keep it on the one socket until all of the pending commands are complete. The drawback is that it will add the time for the extra command and the read back to your total test time.

Just to let you know, I will be out of the office starting tomorrow and ending next Wednesday. If you need urgent help, please send an e-mail to spd_support@agilent.com.

Point your RSS reader here for a feed of the latest messages in all forums