04-11-2016 08:16 AM
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!
04-12-2016 02:32 PM
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!