05-11-2013 09:04 AM
Is there a way to programatically Show/Hide or Add/Remove workspace objects?
I am configuring a GUI that will be used for multiple test modes and would like only the controls and indicators that are necassary for each test mode to be visible to the operator. I know I could create a screen for each test mode but there are quite a few controls and indicators that are common to all test modes and I don't want to have to create duplicate objects.
Thanks,
Pat M
05-13-2013
09:11 AM
- last edited on
10-17-2024
02:42 PM
by
Content Cleaner
Hey Pat,
Unforunately there is not a way to porogramatically Show/Hide or Add/Remove workspace objects.
As you had mentioned creating extra screens would be one way or you can create seperate workspaces.
You can however do what you are requesting in LabVIEW since you have access to all the property nodes for the controls and indicators. You can access the channel values through the channel API and display it using graphs and indicators.
05-16-2013 07:57 AM
Kyle,
If I use multiple screens is there a way to programatically identify which screen is being displayed?
Thanks,
Pat
05-17-2013 01:32 PM
Pat,
I could not find a method to change screens in the workspace programmatically. The best workaround would be to use the tab control in a VI and setup you're own screens, then you could programmatically move between them.
07-09-2013 02:22 PM
Kyle,
Along similar lines, is there a way to password protect certain screens in the workspace?
Thanks
Michael