xpc realtime udp receive

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

0 个投票

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

0 个投票

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

0 个投票

go to bug report 783622 (xpc target, 2011b), there you will find the update!

2 个评论

Erm,
how do you do you find the bug report 783622? do you have the link?
I googled it and nothing.
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

0 个投票

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