Can I use the National Instruments USB-6212 (BNC) with Data Acquisition Toolbox 2.14 (R2009a)?

3 views (last 30 days)
I would like to be able to use National Instruments USB-6212 (BNC) with Data Acquisition Toolbox 2.14 (R2009a).

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Mar 2015
This enhancement has been incorporated in Release 2010a (R2010a). For previous product releases, read below for any possible workarounds:
National Instruments USB-6212 (BNC) is not supported by Data Acquisition Toolbox 2.14 (R2009a).
To work around this issue, perform these steps to add support for these devices in MATLAB 7.8 (R2009a):
1. Quit MATLAB.
2. Find the following file:
$MATLABROOT\toolbox\daq\daq\private\mwnidaqmx.ini
(where $MATLABROOT is the MATLAB root installation directory obtained by issuing:
matlabroot
at the MATLAB Command Prompt.)
3. Make a copy of this file and rename it to mwnidaqmx.ini.old.
4. Open the file mwnidaqmx.ini in a text editor, and add the following lines at the end of the file:
[USB-6212 (BNC)]
hasAnalogInput = true
numAIChannels = 16
hasAnalogOutput = true
numAOChannels = 2
maxAOSampleRate = 250000,250000
hasDigitalIO = true
digitalPortSize = 16,8,8
digitalPortCap = 4,4,4
5. Save the file mwnidaqmx.ini and restart MATLAB.

More Answers (0)

Products


Release

R2009a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!