Can I use the National Instruments wireless and Ethernet DAQ devices supported with NI-DAQmx 8.8 in Data Acquisition Toolbox 2.13 (R2008b)?
2 views (last 30 days)
Show older comments
I would like to use the new wireless and Ethernet DAQ devices supported with NI-DAQmx 8.8 in Data Acquisition Toolbox 2.13 (R2008b).
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This enhancement has been incorporated in Release 2009a (R2009a). For previous product releases, read below for any possible workarounds:
The new wireless and Ethernet DAQ devices supported in NI DAQmx 8.8 are not supported in Data Acquisition Toolbox 2.13 (R2008b). However, with the workaround shown below you can add support for any of the following wireless and Ethernet devices in Data Acquisition Toolbox 2.13 (R2008b):
NI ENET-9211, NI ENET-9219, NI ENET-9215, NI ENET-9215 (BNC), NI WLS-9211, NI WLS-9219, NI WLS-9215, and NI WLS-9215 (BNC).
Perform the following steps to add support for any of the above listed 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 lines corresponding to your device(s) at the end of the file:
[ENET-9211]
;Thermocouple
hasAnalogInput = true
numAIChannels = 4
timeoutForNIDAQmxOps = 1
inputRangeTestVoltage = 0.050
hasAnalogOutput = false
hasDigitalIO = false
[WLS-9211]
;Thermocouple
hasAnalogInput = true
numAIChannels = 4
timeoutForNIDAQmxOps = 1
inputRangeTestVoltage = 0.050
hasAnalogOutput = false
hasDigitalIO = false
[ENET-9219]
;Bridge-based sensor, Current, RTD, Resistance, Strain gauge, Thermistor, Thermocouple, Voltage
hasAnalogInput = true
numAIChannels = 4
hasAnalogOutput = false
hasDigitalIO = false
[WLS-9219]
;Bridge-based sensor, Current, RTD, Resistance, Strain gauge, Thermistor, Thermocouple, Voltage
hasAnalogInput = true
numAIChannels = 4
hasAnalogOutput = false
hasDigitalIO = false
[WLS-9215]
;Voltage
hasAnalogInput = true
numAIChannels = 4
noCommitOnAIStart = true
hasAnalogOutput = false
hasDigitalIO = false
[WLS-9215 (BNC)]
;Voltage
hasAnalogInput = true
numAIChannels = 4
noCommitOnAIStart = true
hasAnalogOutput = false
hasDigitalIO = false
[ENET-9215]
;Voltage
hasAnalogInput = true
numAIChannels = 4
noCommitOnAIStart = true
hasAnalogOutput = false
hasDigitalIO = false
[ENET-9215 (BNC)]
;Voltage
hasAnalogInput = true
numAIChannels = 4
noCommitOnAIStart = true
hasAnalogOutput = false
hasDigitalIO = false
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!