Error faced when connecting two channels of analog output to matlab signal

3 vues (au cours des 30 derniers jours)
Rachita Sarangi
Rachita Sarangi le 12 Jan 2023
Error details :
Warning: This change caused queued output data to be flushed. Use queueOutputData to queue data before starting the object.
An error occurred while running the simulation and the simulation was terminated
Caused by: Hardware is reserved (possibly by an external application). Call release to unreserve the hardware or exit the external application, and retry the operation.
Component:Simulink | Category:Block error
Images for analog output and simulink models are attached.
Please note the model runs sucessfully while being connected to a single channel and data acquistion is succesfully achieved..Image for that is attached as well.
Thank you very much for your kind help in advance.

Réponses (2)

xuany
xuany le 24 Fév 2023
hey guy, i find that this error may caused by we set two blocks to acquire data. if we use just one block (select two analog input channel) to realize this function ,this error can be fixed .

Rachita Sarangi
Rachita Sarangi le 24 Fév 2023
Hi xuany,
Thank you so much for your reply. I have to test this and I will get back.

Tags

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by