LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TabControl "Pages" and PageEnb State Properties in NXG

Solved!
Go to solution

Hi all, 

 

I have converted a code from LabView 2018 to LabView NXG but NXG does not seem to have TabControl property called Pages and PageEnb. What property can I use instead? My old code is: 

tabctrl3.PNG

The converted is: 

tabctrl2.PNG

0 Kudos
Message 1 of 6
(2,235 Views)

Hi, I think, I have found possible  solution for you.

 

I have build small example based on how I understand your question (screen shot is attached). 

Please let me know if I got it right and if my suggestion helps.

 

Otherwise please describe the issue more detailed, will be happy to help you.

Message 2 of 6
(2,183 Views)

It looks like you are wiring an enum to a boolean input.

 

What if you just wired a boolean constant?

0 Kudos
Message 3 of 6
(2,175 Views)

Thank you for your reply MM,

 

The purpose of this part in the old code was to disable and gray out the whole panel when the program starts running (number of iterations not equal to 0 -> false -> gray out and disable). It doesn't seem to be the purpose of the code you wrote? However, I greatly appreciate it!

0 Kudos
Message 4 of 6
(2,157 Views)
Solution
Accepted by topic author RoboNuC4

Just for clarifying.
Do you want disabled whole front panel with included items  or only  tab control? If you want disabled only  Tab control you can use or modify below given example.

Download All
Message 5 of 6
(2,134 Views)

This is exactly what I needed! 😄 Thank you! 

0 Kudos
Message 6 of 6
(2,114 Views)