This enhancement has been incorporated in Release 2007a (R2007a). For previous product releases, read below for any possible workarounds:
National Instruments USB-621x series devices are not supported by Data Acquisition Toolbox 2.9 (R2006b).
To work around this issue, you can add limited support for these devices by modifying the device configuration file. In Data Acquisition Toolbox 2.9 (R2006b) it is only possible to add support for Analog Input and Digital Input/Output subsystems. We are investigating the possibility of adding support for the Analog Output subsystem in a future release.
To add support for Analog Input and Digital Input/Output subsystems, perform these steps:
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:
[USB-6210]
hasAnalogInput = true
numAIChannels = 16
hasAnalogOutput = false
hasDigitalIO = true
digitalPortSize = 4,4
digitalPortCap = 1,2
[USB-6211]
hasAnalogInput = true
numAIChannels = 16
hasAnalogOutput = false
hasDigitalIO = true
digitalPortSize = 4,4
digitalPortCap = 1,2
[USB-6215]
hasAnalogInput = true
numAIChannels = 16
hasAnalogOutput = false
hasDigitalIO = true
digitalPortSize = 4,4
digitalPortCap = 1,2
[USB-6218]
hasAnalogInput = true
numAIChannels = 32
hasAnalogOutput = false
hasDigitalIO = true
digitalPortSize = 8,8
digitalPortCap = 1,2
5. Save the file mwnidaqmx.ini and restart MATLAB.
Best Answer