Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

MATLAB example for NI PCI-6221 and BNC-2110 boards

Hi, all!

 

I have two boards from National Instruments: PCI-6221 and BNC-2110. Using this equipments I need to read the analog voltage data and write analog voltage to the BNC-2110 board's pins in MATLAB. Please, tell me where are tutorials how to initialize the device, write and read the analog signals in pins. How can I know voltage range (and limits) and discretization for this board.

 

Thank you!

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

Hi SpaceQuester,

 

The driver that we ship with the PCI-6221 is DAQmx, and includes an API for LabVIEW, C, and .NET programming. Since your desire is to interact with the 6221 directly from MATLAB®, you will need to use the toolbox developed by MathWorks® to support NI hardware. I’ve provided a link to that resource below:

 

http://www.mathworks.com/hardware-support/nidaqmx.html;jsessionid=be52610b6c54638d9ef3013c7f0b

 

Regarding the voltage range(s)/limits and discretization associated with the 6221, you can find that information in the NI 6221 Device Specifications Manual:

 

http://digital.ni.com/manuals.nsf/websearch/8A353875B334AE2A86257EC100593F4A

 

I hope this helps!

Ross S.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,966 Views)