The DAQ hardware added by National Instruments in NI-DAQmx version 8.6 device is not supported by the Data Acquisition Toolbox 2.11 (R2007b).
To work around this issue, perform these steps to add support for these devices in Data Acquisition Toolbox 2.11 (R2007b):
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:
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:
[PXI-4496]
hasAnalogInput = true
numAIChannels = 16
minAISampleRate = 100
hasAnalogOutput = false
hasDigitalIO = false
[PXI-4498]
hasAnalogInput = true
numAIChannels = 16
minAISampleRate = 100
hasAnalogOutput = false
hasDigitalIO = false
[USB-6251 (BNC)]
hasAnalogInput = true
numAIChannels = 16
hasAnalogOutput = true
numAOChannels = 2
maxAOSampleRate = 2860000,2000000
hasDigitalIO = true
digitalPortSize = 8,8,8
digitalPortCap = 4,4,4
[USB-6259 (BNC)]
hasAnalogInput = true
numAIChannels = 32
hasAnalogOutput = true
numAOChannels = 4
maxAOSampleRate = 2860000,2000000,1540000,1250000
hasDigitalIO = true
digitalPortSize = 32,8,8
digitalPortCap = 4,4,4
[USB-6221 (BNC)]
hasAnalogInput = true
numAIChannels = 16
hasAnalogOutput = true
numAOChannels = 2
maxAOSampleRate = 833000,740000
hasDigitalIO = true
digitalPortSize = 8,8,8
digitalPortCap = 4,4,4
[USB-6225]
hasAnalogInput = true
numAIChannels = 80
hasAnalogOutput = true
numAOChannels = 2
maxAOSampleRate = 833000,740000
hasDigitalIO = true
digitalPortSize = 8,8,8
digitalPortCap = 4,4,4
[USB-6225 (Mass Termination)]
hasAnalogInput = true
numAIChannels = 80
hasAnalogOutput = true
numAOChannels = 2
maxAOSampleRate = 833000,740000
hasDigitalIO = true
digitalPortSize = 8,8,8
digitalPortCap = 4,4,4
[USB-6229 (BNC)]
hasAnalogInput = true
numAIChannels = 32
hasAnalogOutput = true
numAOChannels = 4
maxAOSampleRate = 833000,740000,666000,625000
hasDigitalIO = true
digitalPortSize = 32,8,8
digitalPortCap = 4,4,4
[USB-6255]
hasAnalogInput = true
numAIChannels = 80
hasAnalogOutput = true
numAOChannels = 2
maxAOSampleRate = 2860000,2000000
hasDigitalIO = true
digitalPortSize = 8,8,8
digitalPortCap = 4,4,4
[USB-6255 (Mass Termination)]
hasAnalogInput = true
numAIChannels = 80
hasAnalogOutput = true
numAOChannels = 2
maxAOSampleRate = 2860000,2000000
hasDigitalIO = true
digitalPortSize = 8,8,8
digitalPortCap = 4,4,4
5. Save the file mwnidaqmx.ini and restart MATLAB.
Best Answer