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.
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.