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

3 ビュー (過去 30 日間)
Rachita Sarangi
Rachita Sarangi 2023 年 1 月 12 日
回答済み: Rachita Sarangi 2023 年 2 月 24 日
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.
  1 件のコメント
xuany
xuany 2023 年 2 月 24 日
So do I ,- -.may i ask have you fixed the error ?

サインインしてコメントする。

回答 (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