daq.getVendors() takes half of forever on R2015b, 32bit; createSession('nidaq') doesn't work...

2 次查看(过去 30 天)
  • Installed MATLAB R2015b
  • Installed NI-DAQmx 17.5
  • daqregister('nidaq') as admin
  • Downloaded and installed NI-DAQmx Support Package for MATLAB
  • Re-started MATLAB
>> tic, daq.getVendors(), toc
ans =
Data acquisition vendor 'National Instruments':
ID: 'ni'
FullName: 'National Instruments'
AdaptorVersion: '3.8 (R2015b)'
DriverVersion: '17.0.0 NI-DAQmx'
IsOperational: true
Properties, Methods, Events
Additional data acquisition vendors may be available as downloadable support packages.
Open the Support Package Installer to install additional vendors.
Elapsed time is 93.893302 seconds.
And, of course...
>> s = daq.createSession('nidaq')
The vendor 'nidaq' is not known. Use 'daq.getVendors()' for a list of vendors.
>> s = daq.createSession('ni')
The vendor 'ni' is not known. Use 'daq.getVendors()' for a list of vendors.
  1 个评论
Michael Gustafson
Michael Gustafson 2019-2-14
Success! I
  • uninstalled all the VISA drivers for the NI cards with 17.5,
  • logged in as admin,
  • ran MATLAB as admin and registered the nidaq card
From that point forward, things worked. Not sure that was the smartest solution, but it worked... Still takes 90 seconds to issue the first daq command, but at least I can blink lights again! I did not end up needing to update the drivers past 17.5 nor did I end up needing to download the support package. It was ALL about the VISA drivers.

请先登录,再进行评论。

回答(0 个)

产品


版本

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by