Unable to load Data Translation DAQ Adaptor for Matlab

5 views (last 30 days)
Hello, I'm trying to install and use the DAQ Adaptor for MATLAB, which is supposed to interface a Data Tranlsation board (DT3010) with the MATLAB Data Acquisition Toolbox. To be clear, this driver is only compatible with 32-bit versions of MATLAB for the time being, so the first thing I did was install a trial version of 32-bit R2015b with the appropriate R2015b Data Acquisition Toolbox. Once I successfully installed those things, I installed the DAQ Adaptor for MATLAB tool from Data Translation. As it finishes the installation it tries to run some code and then quickly exits MATLAB. I believe what it is trying to do is register the hardware automatically, but I think it fails (it closes so quickly it's hard to tell).
So the next thing I tried was to run MATLAB in administrator mode (right-click -> run in administrator mode) and then run the following code to register the Dtol.dll driver manually using the following code:
Trial>> rehash toolboxcache
Trial>> daqregister('C:\Program Files (x86)\Data Translation\DAQ Adaptor for MATLAB\Dtol.dll')
ans =
Unable to load adaptor: C:\Program Files (x86)\Data Translation\DAQ Adaptor for MATLAB\Dtol.dll.
When this didn't work, I called DT to try and find a solution and they suggested perhaps downgrading to R2015a. I did this, and repeated all the installations and the above method of registering the driver, only to get the same message. There is not a lot of detail in the message to use for troubleshooting. Does anybody have any more ideas on why this might not work? I know somebody else had a similar problem and question on this forum, but even though it was marked as answered, it doesn't look like it was actually resolved: DAQ Adaptor. Restarting MATLAB in administrator mode has helped others with similar problems Matlab can't find NI PCI 6723 Analog Output Card, but it's not doing anything for me.
Just for kicks, I have also tried copying the "DAQ Adaptor for MATLAB" folder with the Dtol.dll file in it to other locations, including "%appdata%" and "C:\Program Files\Data Translation" (rather than "C:\Program Files (x86)\Data Translation"), but again had the same result trying to run daqregister in those locations. I don't think it's a path issue here, or a matter of administrative privileges. When I dug into the daqregister m-file, it appears to fail on an internal MATLAB method:
K>> daq.engine.registeradaptor(dllpath)
Unable to load adaptor: C:\Program Files (x86)\Data Translation\DAQ Adaptor for MATLAB\Dtol.dll.
So at this point I'm stuck at the mercy of Mathworks and Data Translation to figure this out, unless anybody else has some ideas?
The output of ver is included below.
Trial>> ver
---------------------------------------------------------------------------------------------
MATLAB Version: 8.5.0.197613 (R2015a)
MATLAB License Number: DEMO
Operating System: Microsoft Windows 7 Enterprise Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) Client VM mixed mode
---------------------------------------------------------------------------------------------
MATLAB Version 8.5 (R2015a)
Data Acquisition Toolbox Version 3.7 (R2015a)
Image Processing Toolbox Version 9.2 (R2015a)
Instrument Control Toolbox Version 3.7 (R2015a)

Accepted Answer

Ryan
Ryan on 28 Oct 2015
It turns out this issue was fixed by upgrading the Data Translation OMNI-CD drivers (Data Translation Open-Layers) from version 7.2.0 to version 7.8.0. It's not clear what the original issue was, but updating the drivers seems to have fixed it... for now.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!