Trouble linking my national instruments USB-6009 to matlab.

3 次查看(过去 30 天)
I an having trouble to make my version of Matlab recognise the USB-6009 I saw this question online several times and couldn't find an answer.
My configuration Windows 7 enterprise x64 Matlab r2011b x64 with daq toolbox
When I try to launch the interactive session I get the following error message:
>>session=daq.createSession('ni')
>>"The vendor 'ni' is not known. Use 'daq.getVendors()' for a list of vendors.
Next step:
>> daq.getVendors()
>>Data acquisition vendor 'National Instruments':
ID: 'ni'
FullName: 'National Instruments'
AdaptorVersion: '3.0 (R2011b)'
DriverVersion: 'unknown'
IsOperational: false
Warning: Diagnostic Information from vendor: NI: There was a driver error while
loading the MEX file to communicate with National Instruments hardware.
It is possible that the NI-DAQmx driver is not installed or is older than
the required minimum version of '9.1'.
Additional information:
'Invalid MEX-file 'C:\Program Files\MATLAB\R2011b\toolbox\daq\daq\+daq\+ni\private\mexNIDAQmx.mexw64': The specified module could not
be found.'
I used dependency walker and found missing DLLs
My troubleshooting steps:
Uninstall and re-install USB6009 with the latest driver and do all updates
Use dependency walker on Matlab
These DLL seem to be missing NICAIU.DLL API-MS-WIN-APPMODEL-RUNTIME-L1-1-0.DLL API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL API-MS-WIN-CORE-WINRT-L1-1-0.DLL API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL API-MS-WIN-SHCORE-SCALING-L1-1-1.DLL DCOMP.DLL
My preliminary conclusion is that there is a problem with the driver installation. Could you advise me which one could work better?
Our next move will be to downgrade Windows to have a 32 bits distribution and use our old scripts and drivers.
I asked the same question to the National Instruments board amd will keep you posted if any answer.
Thank you!

回答(1 个)

Vinod
Vinod 2016-1-16
What version of the NI-DAQmx drivers do you have installed? Can you try again after installing the Data Acquisition Toolbox Support package for National Instruments NI-DAQmx devices?

Community Treasure Hunt

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

Start Hunting!

Translated by