From: Jose on 1 Apr 2010 06:51 Hi everyone, I tryto run a Mtlab demo) with my lst version of matlab 2009b to get data from the adquisition card i have, and I've got the next error: Warning: The device adaptor is not in the expected location. Expected: C:\Program Files\MATLAB\R2009b Actual: C:\Program Files\MATLAB\R2008b\toolbox\daq\daq\private\mwnidaqmx.dll An adaptor from the wrong release may be in use. To correct this problem execute: daqregister('nidaq','unload') Any help of waht i have to do?---maybe remove my old matlab 2008b? Thanksd in advance, Jose
From: Sherryl Radbil on 8 Apr 2010 08:19 Data Acquisition Toolbox uses Microsoft's COM interface and registers the location of the adaptor in the Windows registry. Since only one version of the adaptor can be registered at a time, if you flip between different versions of MATLAB on the same PC you need to manually unregister the current adaptor. That message is telling you exactly what to do, but you didn't copy the entire message which is: An adaptor from the wrong release may be in use. To correct this problem execute: daqregister('nidaq','unload') Then exit and restart MATLAB. So when you see that message simply run that command: daqregister('nidaq','unload') This will clear the currently registered adaptor from the registry. Then exit and restart MATLAB. The first time you try to use a data acquisition device Data Acquisition Toolbox will automatically register the correct version of the adaptor.
|
Pages: 1 Prev: Fisheye distortion correction Next: Fminsearch with two vectors as initial variables |