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

조회 수: 3 (최근 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