NI DAQ no working in simulink
1 view (last 30 days)
Show older comments
Dear all,
I want to setup matlab with NI-DAQ in order to record some signals.
I have installed matlab R2017b, NI-DAQmx 17.6.0 and the hardware support for matlab (all run as administrator).
The system runs windows 7 64bit (with all updates).
When I open the simulink example file "demodaqsl_ai_spectrum.slx" and double click the analoque input block i get the following message "no data acquisition devices are available".
I get the same message from any block from the data acquisition toolbox.
When I enter the command daq.getDevices, I get "ans = No data acquisition devices available. "
When I enter the command daq.getVendors, I get
"ans =
Data acquisition vendor 'National Instruments':
ID: 'ni'
FullName: 'National Instruments'
AdaptorVersion: '3.12 (R2017b)'
DriverVersion: '17.6.0 NI-DAQmx'
IsOperational: true
"
Since I am new to all this, do you have any advice on what to do so that simulink identifies the DAQ devices?
It seems that something in not configured in a correct way.
Thanks in advance
6 Comments
Walter Roberson
on 7 Jan 2018
The software appears to be attempting to look for the hardware. You have the drivers installed but not the hardware.
MoeIsKing
on 13 Nov 2018
So how do you install the hardware?
Install Matlab 2018
Install Daqmx from ni
install data acquisition toolbox in matlab...
doesn't help with simulink :-P
Answers (0)
See Also
Categories
Find more on Data Acquisition Toolbox Supported Hardware 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!