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

3 次查看(过去 30 天)
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.

回答(2 个)

xuany
xuany 2023-2-24
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 2023-2-24
Hi xuany,
Thank you so much for your reply. I have to test this and I will get back.

标签

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by