LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a new DAQmx task after building to EXE

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

Download All
0 Kudos
Message 1 of 3
(2,306 Views)

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.

0 Kudos
Message 2 of 3
(2,276 Views)
Thanks I'll give that a try. It should work fine for what were doing. I stumbled on Signal Express's operator mode in the meantime. Its sort of cool but of course its not included in the free version and we'd have to get another license to use it.
0 Kudos
Message 3 of 3
(2,269 Views)