cannt find Analog discovery2 DAQ device

4 views (last 30 days)
Columbia University
Columbia University on 10 Mar 2017
Answered: TSchach on 16 May 2019
I tried using Analog Discovery2 DAQ device in matlab to acquire data. I have installed support package for it and all versions of waveform softwares as a driver. After that, I still can't get matlab talk with AD2 DAQ.
This command works: s=daq.createSession('digilent');
but this command didn't work: ch1=addAnalogInputChannel(s,'AD1',1,'Voltage');
When type in this command: daq.getDevices
ans =
No data acquisition devices available.
///// daq.getVendors()
ans =
Number of vendors: 2
index ID Operational Comment ----- -------- ----------- ------------------------ 1 digilent true Digilent Inc. 2 ni false Click here for more info
///////////////////
get(s) /// s is the variable created in command: s=daq.createSession('digilent'); NumberOfScans: 10000 DurationInSeconds: 1 Rate: 10000 IsContinuous: false NotifyWhenDataAvailableExceeds: 1000 IsNotifyWhenDataAvailableExceedsAuto: true NotifyWhenScansQueuedBelow: 5000 IsNotifyWhenScansQueuedBelowAuto: true ExternalTriggerTimeout: 10 TriggersPerRun: 1 Vendor: Digilent Inc. Channels: '' Connections: '' IsRunning: false IsLogging: false IsDone: false IsWaitingForExternalTrigger: false TriggersRemaining: 1 RateLimit: '' ScansQueued: 0 ScansOutputByHardware: 0 ScansAcquired: 0

Answers (3)

Vlad Yer
Vlad Yer on 14 Oct 2018
Have the same issue

TSchach
TSchach on 16 May 2019
Hej there,
I have the same problem. The Hardware is working well with WaveForms.
Data Acquistion Toolbox for Digilent Analog Discovery Hardware has been reinstalled, Matlab R2018a is updated, FTDI Driver is latest version.
daq.getVendors()
-> index ID Operational Comment
1 digilent true Digilent Inc.
daq.getDevices()
-> No data acquisition devices available.
Are there any ideas how to solve this problem?
Best regards
Thomas

TSchach
TSchach on 16 May 2019
Problem solved:
A colleague mentioned to deinstall other FTDI / CH340 USB Drivers (Arduino). After a system reboot the Digilent Discovery 2 was listed in the daq.Devices() in Matlab.

Categories

Find more on Data Acquisition Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!