08-12-2011 06:39 PM
Hi,
I would like to accomplish the following:
Prompt user for Input - from a list of four choices, user selects one choice
All the other choices (all false) are disabled.
For instance, from the attached Screenshot:
if I select 2.4 mm male, then all the commands associated to the rest of the choices are disregarded.
Does anybody know how I can do that?
Thank you in advance,
Nicolas
Solved! Go to Solution.
08-12-2011 09:34 PM
08-13-2011 01:06 AM
Instead of using a prompt, you could put the selections in a drop-down window such as an enum and feed that into one case structure. Or a ring if you needed to control the selections programmatically.
08-13-2011 01:18 AM
08-13-2011 09:56 AM
A radio button?
Lynn
08-15-2011 01:38 AM
I'd prefer a listbox.
Felix
08-15-2011 12:15 PM
08-15-2011 12:53 PM
GITA_A,
Can you quickly explain how to use the property nodes you used in your response?
I am recreating what you did step by step, I just put a property node on the block diagram.
How do i link it to one of the options (say 2.4 mm male)?
I don't see any wire coming into the refnum input of the ppty node of your example...
Thank you so much,
Nicolas
08-15-2011 12:59 PM - edited 08-15-2011 12:59 PM
If you use the property node from the Application Control functions palette, you can right-click your control and create a reference. Wire this to the property node. Another way would be to create the property node from the fp by right-clicking the control>>create>>property node.
08-15-2011 01:30 PM
Also, from a Property Node or Invoke Node you can Right-Click -> Link to -> then choose a control or pane of the FP.