LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create option of selecting one among various option?

Hi,
 
While writing a code, I am trying to give the user the option of selecting one among these three values, namely
 
motor_move / line-trace/ normalized variance.
 
I do not know how to do it. So, please suggest me a way to do that.
 
Also, line-trace and normalized variance both are supposed to display graphs. If I choose option of motor-move, I do not want any graph to be displayed. However, if I choose option of either line-trace or narmalized variance, I want only corresponding graph to appear. I believe that I can use "visible" property of property node in application control. However, I do not have exact idea of how to do it. Please help me regarding this also.
 
Thanks,
Dushyant
0 Kudos
Message 1 of 5
(2,921 Views)
You can use a slider, text ring, menu ring, enum, listbox, multii-column listbox, radio button, or a combo box, or individual Booleans. Browse through the controls and look up what they do in the on-line help.
 
What exactly is your problem with the visible property? If you wire a false to it, the indicator is not visible. If you wire a true to it, the control is visible. Right click on the indicator and select Create Property Node. Right click on the property node and select  Change to Write. Right click again to select Properties>Visible.
0 Kudos
Message 2 of 5
(2,913 Views)
Thanks Dennis,
 
Regarding the appearance of respective graph for line-trace/ normalized variance option, I want graph to appear at the same location for both the option. I have tried to do that in the code that I am attaching. However, both does not appear at exact same location.

Message Edited by Dushyant on 09-28-2005 03:14 PM

0 Kudos
Message 3 of 5
(2,914 Views)
Make them both visible. Select both of them. Use the Alignment button on the toolbar to align top and left edges. You've also got the alignment grid on the front panel. Move one or the other manually until they align.
0 Kudos
Message 4 of 5
(2,908 Views)
Thanks Dennis.
0 Kudos
Message 5 of 5
(2,900 Views)