MATLAB: Do I get “Warning: Misregistered adaptor found.” when I try to register the adaptor using the Data Acquisition Toolbox 2.2 (R13)

adaptordaqData Acquisition Toolboxmisregisterdwarning

I have created a driver using the Data Acquisition Toolbox Adaptor Kit. The code compiles, but when I try to register the .dll using DAQREGISTER, I receive the following warnings:
Warning: Misregistered adaptor found.
Warning: Misregistered adaptor found.
Warning: Misregistered adaptor found.
ans =
'adaptor_name.dll' successfully registered.
where adaptor_name is the name of my adaptor.
When I try to use DAQHWINFO on this adaptor, I receive the following errors:
??? Error using ==> daqhwinfo
Error using ==> daqhwinfo
Failure to open requested data acquisition device. Class not registered.

Best Answer

This issue occurs when the adaptor is built with a version of Microsoft Visual C++ that does not have the most recent service packs applied. Please use the Microsoft Visual C++ 6.0 SP6 for building an adaptor for the Data Acquisition Toolbox. See your system administrator for updating your service pack.