08-14-2008 02:33 AM
08-14-2008 02:38 AM
Yeah, thats possible...you have to create a property node for your control (right click the terminal, select create-->property node). There, you can select "Visible". Wire your boolean control to this property to control the visibility...
Greetings
Christian
08-14-2008 02:42 AM
08-14-2008 02:52 AM
Yes, you can do this in LabVIEW, by creating a property node (right click on the control => create => property node => visible) for all the controls you want to display or hide.
Attached you can find two simple examples showing how to do so for one or more controls.
I hope this can solve your answer!
Regards
Licia
National Instruments
Applications Engineer
08-14-2008 03:12 AM
To Lucia, sorry. I am using LabVIEW 8.2. So, I can't open your examples. Is it possible for you to save it into a formt compatible to 8.2?
To Christian, I tried to right click on the control and select "create => property node => visible". Then I found when I moved my mouse to the block diagram, there was a VI moving with my mouse. So I left clicked. The new VI, the property node, has one output, error input and error output. How can I wire the boolean variable to the property node? As attached, it's my program.
To pnt, can you show me the link to the help doc about Tab controls?
08-14-2008 03:25 AM
I'm sorry, here are the examples for LV 8.2.
You have to right click the property node and select "change to write", so you can connect the boolean in input to the property node.
Regards.
Licia
08-14-2008 03:38 AM
08-14-2008 11:49 PM
Hi Forest,
Neither "LabVIEW Fundamentals" nor "Getting Started with LabVIEW" mention property nodes because they are more of an advanced topic. Thus, please consult the following resources:
Property Node - LabVIEW 8.2 Help
Control References - Overview (contains more information than just property nodes)
Lastly, open the LabVIEW Example Finder and browse by task. Expand Building User Interfaces » Controlling Front Panel Objects Programmatically and double-click Property Nodes.vi. This VI is very well documented and includes helpful real-world property node usage. Please let me know if you have any other questions. Goodnight!