03-26-2013 03:10 PM - edited 03-26-2013 03:39 PM
Should I be able to create a new DAQmx Task while running a VI containing the DAQmx Task control that was built as an EXE?
I can't but would like to know if there is a work around or if I am doing something wrong. See the attached screen shots.
When I am not running the VI, I can right click the Task front panel control and select "New NI-DAQmx Task" -> "Project" or "MAX", but when it is running or I am using the VI built as an EXE (running or not) I can't. In the EXE I am able to click the Task drop down box -> "Browse..." -> "Create New..." -> "MAX Task" but nothing happens when I click on "MAX Task".
I would like to be able to create a new task in the software to use different channels and signal types on the fly. The goal is to build a program setup similiar Signal Express but include some on off controls for some machinery and scale it down and customize it so that it is easier to show people how to use it.
Thanks
03-26-2013 08:21 PM
When running your exe, you'll be able to select from tasks created in MAX. Instead of right clicking on the task control, try creating the tasks you want directly in MAX (under Data Neighborhood right click on DI-DAQmx Tasks to create a new one). Tasks that you've saved in MAX will be selectable in the DAQmx Task Name control.
03-26-2013 08:36 PM