Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

channel names in PXI 6229

Hi,

I am trying to get channel names, like PXI1Slot2/ai0, for a PXI-6229 card. I could not find any APIs for it in nidaqmx.h.

But, NI MAX correctly picks up the number of channels and the channel names in each type..for any MIO card in the Test Panel. Can anyone help me find out how to get the channel names in PXI-6229?

 

Thanks,

Priya.

0 Kudos
Message 1 of 3
(2,853 Views)

Hi,

 

I believe you should be able to get the channel names in the same manner as in LabVIEW.

 

Maybe using DAQ Assistant would be of more help. Have a look at the link below:

http://zone.ni.com/devzone/cda/tut/p/id/4650

 

Regards,

Vaibhav

.......^___________________^
....../ '---_BOT ____________ ]
...../_==O;;;;;;;;_______.:/
.....),---.(_(____)/.....
....// (..) ),----/....
...//____//......
..//____//......
.//____//......
..-------
0 Kudos
Message 2 of 3
(2,839 Views)

You can use the "DAQmxGetDeviceAttribute" function to get the list of physical channels in the device.

 

In CVI you can browse to this fucntion from the library tree like this "NI-DAQmx Library > Advanced>DeviceControl"

 

Eg:- DAQmxGetDeviceAttribute ("PXI1Slot2", DAQmx_Dev_AI_PhysicalChans, physicalChannels);

 

Message Edited by kikiduu on 02-05-2009 03:32 AM
------

"A VI inside a Class is worth hundreds in the bush"
യവന്‍ പുലിയാണു കേട്ടാ!!!
0 Kudos
Message 3 of 3
(2,834 Views)