LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicate to a 34970A from 2 VI's at the same time

Solved!
Go to solution

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

0 Kudos
Message 1 of 5
(2,344 Views)

You can use the VISA Lock/Unlock functions. There is an example called 'locking.vi'.

0 Kudos
Message 2 of 5
(2,340 Views)

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?

0 Kudos
Message 3 of 5
(2,333 Views)
Solution
Accepted by topic author ponchio22

No, nothing is sent to the instrument.

0 Kudos
Message 4 of 5
(2,325 Views)

Ok Thank you for your time, that helped me a lot.

0 Kudos
Message 5 of 5
(2,317 Views)