How can I use Measurement Computing USB 31xx series hardware with Data Acquisition Toolbox 2.9 (R2006b)?

1 view (last 30 days)
I would like to use one of the following Measurement Computing boards with Data Acquisition Toolbox.
USB-3101
USB-3102
USB-3103
USB-3104
USB-3105
USB-3106
USB-3110
USB-3112
USB-3114

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
The Measurement Computing USB 31xx series devices are not supported by the Data Acquisition Toolbox.
To work around this issue, perform these steps to add support for these devices:
1. Quit MATLAB.
2. Find the following file:
$MATLABROOT\toolbox\daq\daq\private\mwmcc.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 mwmcc.ini.old.
4. Open the file mwmcc.ini in a text editor, and add the following lines at the end of the file:
[USB-3101]
;USB-3101: 16-bit, 4-channel analog voltage outputs
ID = 0x9A
Bus = USB
AOResolution = 16
AOMaxSR = 100
AOScanning = 0
AOClockingType = 3
OutputRanges = 1,100 ; 0-10, -10 - +10 Volts
DIOConfigurable = 1
DPORTS = 1
DPORT0LINES = 8
DPORT0TYPE = 1
DPORT0CONFIG = 3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[USB-3102]
;USB-3102 : 16-bit, 4-channel analog voltage/current outputs
ID = 0x9B
Bus = USB
AOResolution = 16
AOMaxSR = 100
AOScanning = 0
AOClockingType = 3
OutputRanges = 1,100,204 ; 0-10, -10 - +10 Volts, 0-20mA
DIOConfigurable = 1
DPORTS = 1
DPORT0LINES = 8
DPORT0TYPE = 1
DPORT0CONFIG = 3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[USB-3103]
;USB-3103 : 16-bit, 8-channel analog voltage output
ID = 0x9C
Bus = USB
AOResolution = 16
AOMaxSR = 100
AOScanning = 0
AOClockingType = 3
OutputRanges = 1,100 ; 0-10, -10 - +10 Volts
DIOConfigurable = 1
DPORTS = 1
DPORT0LINES = 8
DPORT0TYPE = 1
DPORT0CONFIG = 3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[USB-3104]
;USB-3104: 16-bit, 8-channel analog voltage/current outputs
ID = 0x9D
Bus = USB
AOResolution = 16
AOMaxSR = 100
AOScanning = 0
AOClockingType = 3
OutputRanges = 1,100,204 ; 0-10, -10 - +10 Volts, 0-20mA
DIOConfigurable = 1
DPORTS = 1
DPORT0LINES = 8
DPORT0TYPE = 1
DPORT0CONFIG = 3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[USB-3105]
;USB-3105: 16-bit, 16-channel voltage output for USB
ID = 0x9E
Bus = USB
AOResolution = 16
AOMaxSR = 100
AOScanning = 0
AOClockingType = 3
OutputRanges = 1,100 ; 0-10, -10 - +10 Volts
DIOConfigurable = 1
DPORTS = 1
DPORT0LINES = 8
DPORT0TYPE = 1
DPORT0CONFIG = 3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[USB-3106]
;USB-3106: 16-bit, 16-channel voltage/current outputs
ID = 0x9F
Bus = USB
AOResolution = 16
AOMaxSR = 100
AOScanning = 0
AOClockingType = 3
OutputRanges = 1,100,204 ; 0-10, -10 - +10 Volts, 0-20mA
DIOConfigurable = 1
DPORTS = 1
DPORT0LINES = 8
DPORT0TYPE = 1
DPORT0CONFIG = 3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[USB-3110]
;USB-3110: 16-bit, 4-channel high-drive analog output for USB
ID = 0xA2
Bus = USB
AOResolution = 16
AOMaxSR = 100
AOScanning = 0
AOClockingType = 3
OutputRanges = 1,100 ; 0-10, -10 - +10 Volts
DIOConfigurable = 1
DPORTS = 1
DPORT0LINES = 8
DPORT0TYPE = 1
DPORT0CONFIG = 3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[USB-3112]
;USB-3112 : 16-bit, 8-channel high-drive analog output for USB
ID = 0xA3
Bus = USB
AOResolution = 16
AOMaxSR = 100
AOScanning = 0
AOClockingType = 3
OutputRanges = 1,100 ; 0-10, -10 - +10 Volts
DIOConfigurable = 1
DPORTS = 1
DPORT0LINES = 8
DPORT0TYPE = 1
DPORT0CONFIG = 3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[USB-3114]
;USB-3114 : 16-bit, 16-channel high-drive analog output for USB
ID = 0xA4
Bus = USB
AOResolution = 16
AOMaxSR = 100
AOScanning = 0
AOClockingType = 3
OutputRanges = 1,100 ; 0-10, -10 - +10 Volts
DIOConfigurable = 1
DPORTS = 1
DPORT0LINES = 8
DPORT0TYPE = 1
DPORT0CONFIG = 3
5. Save the file mwmcc.ini and restart MATLAB.
  2 Comments
Madhura Suresh
Madhura Suresh on 13 Mar 2015
Hi Michael, start MATLAB as administrator, and run daqregister('mcc') and try this again. Legacy interface requires adaptors to be registered with MATLAB.
Image Analyst
Image Analyst on 13 Mar 2015
You also need to make sure Windows sees your device. Make sure you run Measurement Computing's "Instacal" program to initialize the device before you run MATLAB.

Sign in to comment.

More Answers (0)

Categories

Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange

Tags

Products


Release

R2006b

Community Treasure Hunt

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

Start Hunting!