From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Number of tasks created

I'm using C++ and creating named tasks using DAQmxCreateTask.

How do I read the number of tasks created, and each name of the tasks?

 

I'm using DAQmxCreateTask and DAQmxClearTask to test different capabilities before starting. Sometimes it seems that the task is not correct cleared, how to I test that a task is cleared correctly?

 

-cpede

0 Kudos
Message 1 of 2
(2,566 Views)

Hi,

Maybe you could look at having a variable which you use to keep track of the number, adding one every time you create a task?

-Michael

0 Kudos
Message 2 of 2
(2,531 Views)