DAQ Adaptor

I purchased the Matlab & Simulink Student Version and Data Acquisition Toolbox to collect force plate data. And I installed the latest version of the DAQ Adaptor for Matlab on my computer. But I cannot register the adaptor on the Matlab.
The issue appeared to be with the path of the adapter. The path was being read wrong and thus, dtol.dll could not be found. To workaround this issue, I gave it a try the following website that I had got from a technical support engineer of MathWorks.
But, it is still not working as showing 'Unable to load adaptor: C:\Program Files\MATLAB\R2010a Student\toolbox\daq\daq\private\DAQ Adaptor for MATLAB\Dtol.dll.'
I think it is not a path issue. I am using a Windows Vista.

 Respuesta aceptada

Chirag Gupta
Chirag Gupta el 19 de Abr. de 2011

0 votos

Try shutting down Matlab and restarting it in admin mode. You can do this in Visa by right clicking on the Matlab icon and choosing Run/Start in admin mode.
Then try the daqregister command again.

7 comentarios

Sangwoo
Sangwoo el 19 de Abr. de 2011
Thank you for quick response.
I restarted it by right clicking on the matlab and choosing Run/Start in admin mode. But it is still not working..
Chirag Gupta
Chirag Gupta el 19 de Abr. de 2011
What error are you getting? Is it the same?
Try running daqhwinfo and see what is returns
Sangwoo
Sangwoo el 19 de Abr. de 2011
This is an error. It is the same..
EDU>> daqregister('dtol.dll')
ans =
Unable to load adaptor: C:\Program Files\MATLAB\R2010a Student\toolbox\daq\daq\private\DAQ Adaptor for MATLAB\Dtol.dll.
EDU>> daqhwinfo('dtol')
??? Error using ==> daqhwinfo at 115
Failure to find requested data acquisition device: dtol.
Thank you!!
Chirag Gupta
Chirag Gupta el 19 de Abr. de 2011
Are you trying to register from the same directory where dtol.dll is present?
cd('C:\Program Files\Data Translation\DAQ Adapter for Matlab')
daqregister('Dtol.dll')
According to the pdf, you've posted above.
Sangwoo
Sangwoo el 19 de Abr. de 2011
Yes!! I tried to register it from the same directory where dtol.dll is.
Is is matter of Windows Vista??
Chirag Gupta
Chirag Gupta el 19 de Abr. de 2011
Can you try actually copying the DLL and the related file to the : 'C:\Program Files\MATLAB\R2010a Student\toolbox\daq\daq\private\DAQ Adaptor for MATLAB\' folder and then try to register the DLL.
I doubt its a Win Vista issue, if you have admin privs and you are running Matlab in admin mode.
Sangwoo
Sangwoo el 19 de Abr. de 2011
Anyway, thank you very much!

Iniciar sesión para comentar.

Más respuestas (1)

Walter Roberson
Walter Roberson el 19 de Abr. de 2011

0 votos

Are you using the 64 bit version of MATLAB or the 32 bit version? I suspect that .dll might only be usable with the 32 bit version.

1 comentario

Sangwoo
Sangwoo el 19 de Abr. de 2011
It is the 32 bit version..

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 19 de Abr. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by