Problem registering devices for data acquisition (mcc and winsound)
4 views (last 30 days)
Show older comments
Using USB-1408FS from Measurement Computing.
Besides Matlab (see version info below), also have the following installed:
- DASYlab software version 11.0
- instaCal version 6.10
When I try to register the adapter mcc for daq with the daqregister('mcc') command, it seems to succeed:
>> daqregister('mcc')
ans =
'mwmcc.dll' successfully registered.
But when I then try to define an analog object I receive an error:
>> ai = analoginput('mcc',0);
??? Error using ==> analoginput.analoginput at 142
Failure to find requested data acquisition device: mcc.
Checking further, I get:
daqhardwareinfo = daqhwinfo
daqinstalledadaptors = daqhardwareinfo.InstalledAdaptors
daqhardwareinfo =
ToolboxName: 'Data Acquisition Toolbox'
ToolboxVersion: '2.18 (R2011a Prerelease)'
MATLABVersion: '7.12 (R2011a Prerelease)'
InstalledAdaptors: {} %%empty%%
From this, I understand that the mcc adapter is not installed/registered.
I have tried the same thing using 'winsound' instead of 'mcc' and get the same results.
What am I doing wrong?
TIA.
----------------------- MATLAB version info:
>> ver
-------------------------------------------------------------------------------------
MATLAB Version 7.12.0.62 (R2011a)
MATLAB License Number: ####### [SCd Censor]
Operating System: Microsoft Windows XP Version 5.1 (Build 2600: Service Pack 3)
Java VM Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
-------------------------------------------------------------------------------------
MATLAB Version 7.12 (R2011a Prerelease)
Simulink Version 7.7 (R2011a Prerelease)
Communications System Toolbox Version 5.0 (R2011a Prerelease)
Control System Toolbox Version 9.1 (R2011a Prerelease)
Curve Fitting Toolbox Version 3.1 (R2011a Prerelease)
DSP System Toolbox Version 8.0 (R2011a Prerelease)
Data Acquisition Toolbox Version 2.18 (R2011a Prerelease)
Fixed-Point Toolbox Version 3.3 (R2011a Prerelease)
Image Acquisition Toolbox Version 4.1 (R2011a Prerelease)
Image Processing Toolbox Version 7.2 (R2011a Prerelease)
MATLAB Compiler Version 4.15 (R2011a Prerelease)
Neural Network Toolbox Version 7.0.1 (R2011a Prerelease)
Partial Differential Equation Toolbox Version 1.0.18 (R2011a Prerelease)
Signal Processing Toolbox Version 6.15 (R2011a Prerelease)
Simulink Coder Version 8.0 (R2011a Prerelease)
Simulink Control Design Version 3.3 (R2011a Prerelease)
Stateflow Version 7.7 (R2011a Prerelease)
Statistics Toolbox Version 7.5 (R2011a Prerelease)
Symbolic Math Toolbox Version 5.6 (R2011a Prerelease)
Wavelet Toolbox Version 4.7 (R2011a Prerelease)
0 Comments
Answers (2)
Rob Graessle
on 7 Sep 2011
Are you logged into Windows as an administrator? In order to register an adaptor you must be logged in with administrator privileges. Once you register the adaptor it can be used by all users.
3 Comments
Rob Graessle
on 8 Sep 2011
Yes, registering the adaptor just a one time configuration - once it works you won't need to repeat it again.
I'm sorry that my first suggestion didn't help. I'm not sure what's wrong. You could try installing the new version of MATLAB (R2011b) that was just released to see if that resolves the issue, or contact <http://www.mathworks.com/support/contact_us/index.html technical support>
Radhika
on 12 Sep 2011
Yosh, you will also have to run MATLAB in administrator mode. Refer to this solution : http://www.mathworks.com/support/solutions/en/data/1-5SAEJ8/index.html
See Also
Categories
Find more on National Instruments Frame Grabbers in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!