Is the National Instruments PCI-6154 device supported by the Data Acquisition Toolbox 2.12 (R2008a)?
2 views (last 30 days)
Show older comments
I would like to know if the National Instruments PCI-6154 device is supported by Data Acquisition Toolbox 2.12 (R2008a).
Accepted Answer
MathWorks Support Team
on 14 Jan 2010
This enhancement has been incorporated in Data Acquisition Toolbox 2.15 (R2009b). For previous product releases, read below for any possible workarounds:
National Instruments PCI-6154 is not supported by Data Acquisition Toolbox 2.12 (R2008a).
To work around this issue, perform these steps to add support for this device in R2008a:
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:
[PCI-6154]
hasAnalogInput = true
numAIChannels = 4
hasAnalogOutput = true
numAOChannels = 4
maxAOSampleRate = 250000,250000,250000,250000
hasDigitalIO = true
digitalPortSize = 6,4
digitalPortCap = 1,2
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!