How can I use Data Acquisition Toolbox 2.6 (R14SP2) with the Measurement Computing USB-DIO96H device?

1 view (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 24 May 2023
Edited: MathWorks Support Team on 29 May 2023
This enhancement has been incorporated in Release 2006a (R2006a). For previous product releases, read below for any possible workarounds:
The ability to support the Measurement Computing USB-DIO96H is not available
in Data Acquisition Toolbox 2.6 (R14SP2).
To work around this issue use the following steps:
1. Copy the following file:
$MATLAB/toolbox/daq/daq/private/mwmcc.ini
(where $MATLAB is the MATLAB root directory on your machine, as returned by typing matlabroot at the MATLAB command prompt.)
to $MATLAB/toolbox/daq/daq/private/mwmcc.ini.old
2. Use a text editor to add the following lines to the bottom of the original mwmcc.ini file:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[USB-DIO96H]
ID = 0x92
Bus = USB
DIOConfigurable = 1
DPORTS = 16
DPORT0LINES = 8
DPORT0TYPE = 10
DPORT0CONFIG = 2
DPORT1LINES = 8
DPORT1TYPE = 11
DPORT1CONFIG = 2
DPORT2LINES = 4
DPORT2TYPE = 12
DPORT2CONFIG = 2
DPORT3LINES = 4
DPORT3TYPE = 13
DPORT3CONFIG = 2
DPORT4LINES = 8
DPORT4TYPE = 14
DPORT4CONFIG = 2
DPORT5LINES = 8
DPORT5TYPE = 15
DPORT5CONFIG = 2
DPORT6LINES = 4
DPORT6TYPE = 16
DPORT6CONFIG = 2
DPORT7LINES = 4
DPORT7TYPE = 17
DPORT7CONFIG = 2
DPORT8LINES = 8
DPORT8TYPE = 18
DPORT8CONFIG = 2
DPORT9LINES = 8
DPORT9TYPE = 19
DPORT9CONFIG = 2
DPORT10LINES = 4
DPORT10TYPE = 20
DPORT10CONFIG = 2
DPORT11LINES = 4
DPORT11TYPE = 21
DPORT11CONFIG = 2
DPORT12LINES = 8
DPORT12TYPE = 22
DPORT12CONFIG = 2
DPORT13LINES = 8
DPORT13TYPE = 23
DPORT13CONFIG = 2
DPORT14LINES = 4
DPORT14TYPE = 24
DPORT14CONFIG = 2
DPORT15LINES = 4
DPORT15TYPE = 25
DPORT15CONFIG = 2
3. Restart MATLAB.

More Answers (0)

Categories

Find more on Simultaneous and Synchronized Operations in Help Center and File Exchange

Tags

Products


Release

R14SP2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!