How can I use the National Instruments USB-625x series devices with the Data Acquisition Toolbox 2.8.1 (R2006a)?
3 views (last 30 days)
Show older comments
I would like to use the following NI USB-625x series devices with the Data Acquisition Toolbox 2.8.1(R2006a):
USB-6251
USB-6251 (Mass Termination)
USB-6259
USB-6259 (Mass Termination)
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
The National Instruments USB-6251/6259 series devices are not supported by the Data Acquisition Toolbox 2.8.1 (R2006a).
To work around this issue, perform these steps to add support for these devices:
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-6251]
; 16 AI channel, 1 MS/s, 16-bit M Series device
hasAnalogInput = true
numAIChannels = 16
hasAnalogOutput = true
numAOChannels = 2
maxAOSampleRate = 2860000,2000000
hasDigitalIO = true
digitalPortSize = 8,8,8
digitalPortCap = 4,4,4
[USB-6251 (Mass Termination)]
; 16 AI channel, 1 MS/s, 16-bit M Series device
hasAnalogInput = true
numAIChannels = 16
hasAnalogOutput = true
numAOChannels = 2
maxAOSampleRate = 2860000,2000000
hasDigitalIO = true
digitalPortSize = 8,8,8
digitalPortCap = 4,4,4
[USB-6259]
; 32 AI channel, 1 MS/s, 16-bit M Series device
hasAnalogInput = true
numAIChannels = 32
hasAnalogOutput = true
numAOChannels = 4
maxAOSampleRate = 2860000,2000000,1540000,1250000
hasDigitalIO = true
digitalPortSize = 32,8,8
digitalPortCap = 4,4,4
[USB-6259 (Mass Termination)]
; 32 AI channel, 1 MS/s, 16-bit M Series device
hasAnalogInput = true
numAIChannels = 32
hasAnalogOutput = true
numAOChannels = 4
maxAOSampleRate = 2860000,2000000,1540000,1250000
hasDigitalIO = true
digitalPortSize = 32,8,8
digitalPortCap = 4,4,4
5. Save the file mwnidaqmx.ini and restart MATLAB.
0 Comments
More Answers (0)
See Also
Categories
Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!