05-13-2011 11:31 AM
Im using an Agilent 34970A and i need to have two different VI's running at the same time, one is retrieving measurements from 5 channels of the 34902A (every second) and the other controls the actuator module, at the runtime sometimes it send and error and i cant keep controlling or measuring anything, how can i do it or check if the equipment its in use before trying to use it?
Thanks
Solved! Go to Solution.
05-13-2011 11:35 AM
You can use the VISA Lock/Unlock functions. There is an example called 'locking.vi'.
05-13-2011 12:59 PM
Ok that sounds good, just one more question, when the VISA is locked, and another VI tries to acces to it, it sends a locked error right? will that locked error sent to the equipment too or it just wont let the VI access to the equipment?
05-13-2011 02:02 PM
No, nothing is sent to the instrument.
05-13-2011 03:03 PM
Ok Thank you for your time, that helped me a lot.