LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

use NI-SWITCH PXI2503

Is "niSwitch_connect" need to be in aloop to be execute during the period I wish ?.
Or can i put a delay just after the command to have the period I wish ?
i start to use the PXI 2503 .
merci
0 Kudos
Message 1 of 2
(3,044 Views)
You don't need to have the niSwitch_Connect() function in a loop if you do not want the switch status to change. One call to the Connect() function will connect the two channels and leave them in that state until you eplicitly make a call using niSwitch_Disconnect() to change their state again.
0 Kudos
Message 2 of 2
(3,044 Views)