LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab Control

Solved!
Go to solution

Hello,

i am writing a small daq program. I planed to use the tab control. Yesterday everything was working. Now after i restartet my PC i can not change inbetween the taps during the program is running. 

Can somebody helb me with this problem, please?

0 Kudos
Message 1 of 2
(908 Views)
Solution
Accepted by topic author klappstuhl

Your TAB control does not work because it is disabled. 

To enable it, right click on the TAB control -> Advanced -> Enable State -> Enable.

 

Morever, some suggestions to make your code better and more readable:

 

- Avoid the use of Express VI. Replace the Express VI with "real code". When you create an Express VI I suggest you to convert the Express VI into code. I often use Express VI (mostly for DAQmx acquisition task) but after creation, I convert it into code.

 

- (My personal opinion) Avoid the use the of stream channels. Use queues.

 

- Use notifiers, controls or boolean conditions to stop your while loops. In this way, you can avoid the use of the Abort button and you can handle disposing operations like releasing the used resources after your core code is executed. 

Message 2 of 2
(894 Views)