LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

run time daqmx task editing

I have created a daqmx task using MAX. I want to use it in Labview , in such a way that user will be able to modify this task setting through my application while the application is running.
0 Kudos
Message 1 of 4
(3,229 Views)
Hi,

Modifing a task at run-time is doable, but requires programming. There is not a way launch the DAQ Assistant to configure a task from LV when an application is running. But you can use the DAQmx property nodes to change your task configuration. If there are a handful of properties that you want to allow the user to change, write a GUI that presents these options to your user and then use DAQmx property nodes to modify the task configuration. It is recommended that you make these changes when the task is not running (i.e. before DAQmx Start Task). If the task is already running, stop the task (using DAQmx Stop Task), make the changes, and restart it (using DAQmx Start Task). Very few properties can be changed while a task is running. If you need to make th
e change while the task is running, you can experiment with making the change to see if your need-to-change property is one that can be changed when a task is running. The DAQmx property node will return an error if that property cannot be changed at that time.

Hope this helps.
Deborah
Message 2 of 4
(3,229 Views)
Can i add/delete channels from task through my application at run time?
0 Kudos
Message 3 of 4
(3,229 Views)
I responded to your other post on this question. Follow this link to that post.

Deborah
0 Kudos
Message 4 of 4
(3,229 Views)