07-01-2014 02:30 PM
Hello,
I would like to ask if is somehow possible to dynamicly change/add or remove) in code list of analog input channels in same task without dispose task?
Regards!
07-02-2014 08:03 AM
Hi,
It is possible to change them in LabVIEW
Thereferore it should be possible in C too.
Regards,
07-03-2014 12:28 AM - edited 07-03-2014 12:28 AM
Hello,
thanks for reply.
If I understand correctly you need to clear-dispose task and then create new task. This takes quite some time.
Isn't it possible to create task than START, acquire signal, STOP, UNRESERVE and then reconfigure channels in task(remove old, add new)?
Regards!
07-04-2014 01:14 AM
Hi,
Unfortunately not.
In order to change physical channels DAQmxCreateTask(), DAQmxStopTask() and DAQmxClearTask() has to be used.
Regards,
Andrej Korošec,
AE NI EE