Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get the features of my board?

I'd like to be able to determine, in software, how many analog I/O and digital I/O channels my board has, along with information about the counter/timer and other features.  Also, if possible, the interrupts and DMA channels, and the DAQ library version.  I'm using a PCI-6220 board now but my software will also use a PCI-6229 board and possibly others.  I need for it to adapt accordingly and I'd rather get this information from teh board itself than from a spec sheet.  I was able to do this with another NI product, a USB-based I/O device, I forget teh model number.

 

Thanks.

0 Kudos
Message 1 of 5
(3,308 Views)

I forget to mention that I am using the DAQmxGetDevProductType and AQmxGetDevSerialNum functions.  I'm hoping that there are other functions that can tell me more about the board in my system.

0 Kudos
Message 2 of 5
(3,305 Views)

Hi m610,

 

The full list of DAQmx device properties can be found in the DAQmx C Reference Help (Start»All Programs»National Instruments»NI-DAQ) under NI-DAQmx C Functions»NI-DAQmx C Properties»List of Device Properties.

 

I hope this helps,

S_Hong
National Instruments
Applications Engineer
0 Kudos
Message 3 of 5
(3,274 Views)

Thanks for the reply.

 

Unfortunately I couldn't find anything in the funtions section of that help file.  I forget where I ran across the ...GetName and ...GetSeriaNr functionsbut it wasn't in this section.  I just found the...MajorVersion and ...MinorVersion functions by digging through the properties listing.

 

It looks like there are many more fundtions than what the help files cover.  Of course, I am using version 7.4, the version that came with my 6220 board, so that may have changed in more recent versions.

0 Kudos
Message 4 of 5
(3,264 Views)

Hi m610,

 

Many of the device capability properties were added in DAQmx 8.3. You'll need to upgrade to a newer version of DAQmx to use DAQmxGetDevAIPhysicalChans() and such.

 

Brad

---
Brad Keryan
NI R&D
0 Kudos
Message 5 of 5
(3,258 Views)