From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ni switch Instrument handle not responding

Windows 2000, labVIEW 6.1, PXI swich card 2565

When using any of ni switch VI's. After creating a constant for the Instrument handle. I can not pick a instrument handle and it beeps if you type one in.

Ni switch soft panel works fine.

Any Ideas
0 Kudos
Message 1 of 2
(2,110 Views)
The instrument handle is a variable that is created each time the switch is run. This is a reference to all the configurations that were setup for the switch and it is destroyed when you close the session. If you take a look at the examples that ship with NI-SWITCH you will see that the the first VI, NI Switch Initialize, takes in a instrument descriptor, which gives some information on the configuration of the switch. The output of this VI is the instrument handle that is used by all subsequent switch VIs. This handles will always need to be closed out or you will not be able to access the switch again until you reboot. You will not be able to use a constant because the handle is created each time the VI is run. The handle can only be created by the NI Switch
Initialize.vi. Let me know if you have any further questions.
0 Kudos
Message 2 of 2
(2,110 Views)