08-22-2022 03:01 AM
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?
Solved! Go to Solution.
08-22-2022 03:36 AM
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.