Real Time Serial communication with Simulink

4 ビュー (過去 30 日間)
Joaquin Sanchez
Joaquin Sanchez 2014 年 2 月 3 日
コメント済み: Issa 2023 年 7 月 2 日
I am able to acquire data from a TI- ADS1299 Biosignal board which is interfaced through an Arduino DUE connected to one of the usb ports. The data is composed, per sample, of 8 channels, each of 4 bytes channel and a 4 byte header. therefore there is 36 bytes per sample.
I basically run the code, in the m-file attached, repeatedly in a timer call-back function every 0.1 seconds. The data is plotted in a stripchart. My question is how would you perform this in SimuLink? I've tried using Query instrument block, I managed to some bits but I am not sure how I can decode the data like I do in the code. Also I get absolutely nothing when I use Serial Read block diagram.
  1 件のコメント
willian bispo
willian bispo 2017 年 2 月 7 日
Hi Joaquin Sanchez, Did you perform acquisition in SimuLink? Regards Willian

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

回答 (1 件)

Joaquin Sanchez
Joaquin Sanchez 2014 年 2 月 3 日
I attached the code that was mentioned in the post above
  1 件のコメント
Issa
Issa 2023 年 7 月 2 日
could y plz attchec the full code so we can reach the solution

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

Community Treasure Hunt

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

Start Hunting!

Translated by