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.
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.
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.
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 firstname.lastname@example.org.