LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help setting up "menu button" controls in labview

Hi all,

 

I am a new user to Labview and have been trying to learn through old code in my lab. One thing I have been struggling with is creating "Menus Button" under "visual items" when you right click on Controls. 

 

So, I am creating a DAQmx block for a thermocouple and one of my required inputs is the type of thermocouple and what type of cold junction compensation. When I create the control, it make the drop down menu in the front panel, not a drop down menu in the block diagram. I would like the drop down menu to be in the block diagram.

 

Thanks everyone for the help!

0 Kudos
Message 1 of 3
(2,710 Views)

Hi hydratebuster,

 

If I understand your description correctly, this is the difference between controls and constants in LabVIEW. If you want the drop-down on the block diagram, you can double-click the control on the front panel to find it on the block diagram. Once you find it on the block diagram, you can right-click it and select "change to constant". This will place the enumeration drop-down on the block diagram and remove the front panel component. Alternatively, when creating the input to the VI, you can right-click the input and select "create constant" instead of "create control".

Regards,
0 Kudos
Message 2 of 3
(2,706 Views)

Create a constant instead.

0 Kudos
Message 3 of 3
(2,706 Views)