xpc realtime udp receive

2 次查看(过去 30 天)
Peter Wehrli
Peter Wehrli 2011-11-3
Does anybody have a short example how to use an xpc realtime udp receiver block? I am able to write out an udp packet to a "sensor" which will answer after receiving the packet. To check the answer, I am using wireshark. But I am not able to receive this packet with the xpc target.
It seems to me, that the xpc realtime receiver block is misconfigured or has a bug, may be the packet size is too short?
Was anybody able to use this receiver block successfully?

回答(4 个)

Peter Wehrli
Peter Wehrli 2011-12-21
There is a bug in the realtime udp receiver block. Below a certain amount of bytes, the block will not receive any byte. Actually I am testing a patch of MathWorks. In a short time the patch will be available on MathWork's support page.

Mirko Kunze
Mirko Kunze 2012-3-22
Any updates on this issue? I have the same problems and did not find any patches.

Peter Wehrli
Peter Wehrli 2012-3-22
go to bug report 783622 (xpc target, 2011b), there you will find the update!
  2 个评论
Celine Chia
Celine Chia 2012-6-11
Erm,
how do you do you find the bug report 783622? do you have the link?
I googled it and nothing.
Walter Roberson
Walter Roberson 2012-6-11
Bug reports can generally be found at http://www.mathworks.com/support/bugreports/
That particular one is either not present or not publicly visible.

请先登录,再进行评论。


Rajiv Ghosh-Roy
Rajiv Ghosh-Roy 2012-6-11
I think you need to set the "release exists in" to R2011b.

Community Treasure Hunt

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

Start Hunting!

Translated by