ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Tasknames?

Hello,

at the moment i am programing software for testequipment that has to run on different computers. So I would like to get the DAQmx Tasknames through a function call. Unfortunately I only found the GetTaskName function which needs a Taskhandle. But I want to know all the available tasks, that the user can choose the one he needs.
Has anybody an idea?
0 Kudos
Message 1 of 4
(3,173 Views)
SteJap

Try using the DAQmxGetSysTasks property. It should return an array that contains the names of all tasks saved on the system. Hope this helps

StuartG
0 Kudos
Message 2 of 4
(3,163 Views)
Thank you for your answer. Now I know why i have not found this function. It is not documented in the C Reference Help.
Do anybody know where I can find the documentation about this function?
0 Kudos
Message 3 of 4
(3,152 Views)
It's documented in the NI-DAQmx C Reference in the section NI-DAQ C Properties; not under C functions.
John Weeks

WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
www.wavemetrics.com
0 Kudos
Message 4 of 4
(3,146 Views)