Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I find a list of internal channel of a chassis or any other device using NI-DAQmx?

Solved!
Go to solution

Hi, 

 

I want to use the internal counter channels on my cDAQ-9178. I know I can use _ctro for my physical channel name when creating counter channel. Is there a way I can enumerate all the available internal channels on a device. I am using the function

 

DAQmxGetDevCIPhysicalChans

 

for listing all the channels on the device. But when used on the chassis, I do not get a list of internal channels. I found KB on how to do it with LABVIEW but can not find a way to do it programmatically using NI DAQmx C API.

 

Best Regards,

Manisha

The MathWorks

0 Kudos
Message 1 of 4
(3,411 Views)
Solution
Accepted by topic author manisha.singh

Hello Manisha, 

 

For the internal channels, you need to hard code them. You can find a list of internal channel names at the following link: http://zone.ni.com/reference/en-XX/help/370466V-01/mxdevconsid/internalchannels/

Maggie
National Instruments
Applications Engineer
ni.com/support
0 Kudos
Message 2 of 4
(3,393 Views)

Thanks for the reply Maggie!

0 Kudos
Message 3 of 4
(3,381 Views)

I'm glad I could help! 

Maggie
National Instruments
Applications Engineer
ni.com/support
0 Kudos
Message 4 of 4
(3,371 Views)