LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

change state of a binaryswitch

Hi all,

i set with a binaryswitch a connection to on or off.

but in an other panel/menubar is also binarswitch for the same function.

is it possible to change/set the state of a binaryswitch via command?

thanks
0 Kudos
Message 1 of 2
(2,954 Views)
You set it simply using SetCtrlVal (panelHandle, PANEL_BINARYSWITCH, 0); and reset it passing 0 as the last parameter.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,944 Views)