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: 

CASE STRUCTURES WITH TAB CONTROL

Hi,

 

I have created  tab controlled  case structures for three different cases,

Tablet type

Machine Input

Output

It seems that data is not interlinked while switching betweeen the cases.

I have to select the start buttun for each tab to get results.And also if I skip the second tab and jump to third tab, it doesnot give results. SOmehow the data is not acquired.

Can anyone help me out for the same.

 

Attached is the main VI (PAR_LAB_ATT_00_01)followed by a sub VI(gen time array)

 

Thanks

Sumit

Download All
0 Kudos
Message 1 of 3
(2,336 Views)

Please don't use all CAPS when posting your message subject.

 

How are you running your VI?  I don't see any while loop in it, so it only runs once.  Which means only the case structure associated with the tab that is currently highlighted before you press the run button will actually run.

 

The vast majority of the time, a tab control is only used to control what is displayed in the front panel and is not used to actually control the execution order of the program.

 

I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
0 Kudos
Message 2 of 3
(2,331 Views)
Thank You.
0 Kudos
Message 3 of 3
(2,290 Views)