LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Callback for Tabs?

Hi,
 
My main CVI GUI (called by TS in order to select tests and different conditions) has several tabs.
 
1) Is there a callback to a tab, so that, when I select a tab I can setup initial conditions (switches, leds etc..)?
 
2) Right now I put a switch in an initial condition of ON.  When I read the status of lthe switch, it reads 0 (the OFF condition).  Any explanation to that?
 
Thanks
 
 
Rafi
0 Kudos
Message 1 of 2
(2,880 Views)

Hi Rafi,

there's EVENT_ACTIVE_TAB_CHANGE with parameters eventData1 = old active tab and eventData2 = new active tab. You only have to define the callback and then react on this event.

 

Regards, Steffen

0 Kudos
Message 2 of 2
(2,877 Views)