How can I use the National Instruments USB-625x series devices with the Data Acquisition Toolbox 2.8.1 (R2006a)?
3 次查看(过去 30 天)
显示 更早的评论
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)
采纳的回答
MathWorks Support Team
2009-6-27
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!