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?
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.