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: 

Tab control : passing common variables to other tabs

Solved!
Go to solution

Dear all,
I am trying to use Tab controls to
i) 'configure' the DAQ and VISA devices for a measurement,
and then

ii) run the measurement using a sub-VI based on producer/consumer loop, in another tab.

For this I want to transfer the set parameters from the 'config tab' to the 'measurement tab'. Question, is how to implement this.

 

See attached images and VI.

________________________________

 

i) Config tab

tab1_.jpg

 

 

ii) Alignment tab

 

tab2_.jpg

 

___________________________

 

Thank you.

0 Kudos
Message 1 of 5
(1,125 Views)
Solution
Accepted by topic author ankit7540

Not sure I understood your problem but if you want to have access to the DAQmx controls in multiple cases, why not placing the controls outside of the case structure?

LucianM_0-1620556870637.png

 

Lucian
CLA
0 Kudos
Message 2 of 5
(1,083 Views)

Thank you for the suggestion. I think this will work.

0 Kudos
Message 3 of 5
(1,041 Views)

A tab control is mostly a way to organize front panel elements. There is typically no need to wire it to a case structure or anything else. Just program as if all controls and indicators are on a flat front panel.

0 Kudos
Message 4 of 5
(1,024 Views)

Thanks for the reply.

0 Kudos
Message 5 of 5
(1,016 Views)