USB Serial Communication under Real Time Windows Target delay

1 回表示 (過去 30 日間)
Paulo Melo
Paulo Melo 2012 年 2 月 9 日
コメント済み: Paulo Melo 2013 年 9 月 29 日
Hi!
I have a set of USB IMUs from Microstrain (through Virtual COM Port) and I'm trying to use them in Real Time Windows Target. To communicate with the devices I use the Packet Input block for serial communications. I am able to build and run the real time code, but the sensor readings are coming in very delayed (something like 30 seconds after I move the sensor). Does anyone has an idea about what the problem might be?
Thanks, Paulo
  2 件のコメント
ammar al jodah
ammar al jodah 2013 年 7 月 22 日
can you please tell me how you solve this problem cuz i cant even send or receive anything
Paulo Melo
Paulo Melo 2013 年 9 月 29 日
Hi! I accidentally discovered how to make the delay go away, just make a second copy of the block packet input. I don't why this happens, but having two packet input block doing the exact same thing to the same COM port, solves this issue. Hope it helps.

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

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by