LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx port

How can I set the DAQmx Ceate chanel block in my attached code to a constant so that it always goes to Device 2 port0?  I don't want the pull down menu on my front end.
0 Kudos
Message 1 of 3
(2,766 Views)
Right click on it and select "Change to Constant".
0 Kudos
Message 2 of 3
(2,762 Views)
Here are a few quick and easy ways:

1)  You can right click the control and go to ADVANCED -- ENABLED STATE -- DISABLED(or DISABLED & GRAY).  This way you can still edit the selection during development but during runtime it will not be able to be changed.

2)  If you do not need a front panel display you can replace the control with a constant.  This does take away the ability of using this VI as a SubVI and sending it different channels.

3)  You can right click the control and go to VISIBLE ITEMS -- MENU BUTTON.  This will take away the pull down menu button but can still be changed and/or selected during runtime if it is not disabled.

Hope this helps

Steve

Message 3 of 3
(2,758 Views)