LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using tab control on front panel to save space

Dear all,

I have several large objects (xy-graphs, controls etc.) on my front panel. As long as the program is running, the xy-graphs, indicators are updated continiuously. To save space, I would like to place these objects on different pages of a tab control.

In the block diagram: Do I have to wire a case structure to the tab control and place the objects inside the case structure as shown in the attached example? I found other examples where nothing was wired to the tab control. Which way is correct?

It would be very nice if somebody could clarify this for me.

Thank you,

beam
0 Kudos
Message 1 of 2
(2,698 Views)
Hello beam,

you can use both versions.
The advantage of the case structure is the avoidance of unnecessary processing of controls and indicators.
This way processor resources are free for other things.
In your example I would not use a case structure, as there are only two DBL values to check. If you work on large arrays a Case structure is helpful...
With the case structure/tab control you can also check the user behaviour.

Best regards
Gerd
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(2,698 Views)