12-06-2018 06:12 PM
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!
12-06-2018 06:21 PM
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".
12-06-2018 06:21 PM
Create a constant instead.