How to incorporate National Instruments DAQ in simulink model with arduino-based model simultaneously?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm using Arduino Uno and National Instruments DAQ 9215. i'm running the simulink model using "run on board (external)". how do I incorporate the national instruments measurement data to my simulink model?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1515389/image.png)
and i got this error message when I press "build, deploy, and start":
Error:Level-2 MATLAB S-function 'saib' in 'MixedControl_V6/Analog Input' specifies 'SetSimViewingDevice(true)' , which prevents an output port from being created for the S-function.
0 Kommentare
Antworten (1)
akshatsood
am 10 Nov. 2023
Bearbeitet: akshatsood
am 10 Nov. 2023
I understand that you seek guidance on incorporating National Instruments DAQ in Simulink Model. Further, you are also encoutering an error as stated in the question. To incorporate NI DAQ into your Simulink model, you will need to install the "NI-DAQmx Support" package from the following link.
For better understanding of the conjunction between NI-DAQ and Simulink, please explore the following examples
In response to the error message encountered, have a look at the following references for troubleshooting the issue. These discusssions put forward several workaround for the problem similar to yours.
I hope this helps.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!