LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide controls/indicators for different user selection?

I am trying to simulate time interval analyzer using labview tools but I have a problem in making identical screen as it is on HP 5371A. The only problem is when you choose different arming mode, text pops up on the bottom with different parameters for every mode. So I am trying to build my front panel so that I will have identical features as on HP screen but how can I make some controls/variables (such as delay in secs) dissappear from F.P. for particular arming modes and then again appear for other cases (modes). Thanks in advance for help
0 Kudos
Message 1 of 2
(2,514 Views)
What you'll need to do is to use a while loop to monitor the state of the control. Based on that, you can make other controls visible or invisible, change the strings of a single control, or make controls enabled or disabled. I've attached a simple VI that shows how to make multiple controls visible and invisible. I've only done a few of the arming mode options. For a complete solution, you're going to have a lot of property nodes and I would look at using control references inside of a sbVI. Another way to do it is to forget about emulating the instrument's panel altogether and use the versatility of a computer screen. You've got a lot more real estate than most instruments and have things like tab controls that a user can select.
Message 2 of 2
(2,514 Views)