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?

Risposte (4)

Peter Wehrli
Peter Wehrli il 21 Dic 2011

0 voti

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 il 22 Mar 2012

0 voti

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

0 voti

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

2 Commenti

Celine Chia
Celine Chia il 11 Giu 2012
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 il 11 Giu 2012
Bug reports can generally be found at http://www.mathworks.com/support/bugreports/
That particular one is either not present or not publicly visible.

Accedi per commentare.

Rajiv Ghosh-Roy
Rajiv Ghosh-Roy il 11 Giu 2012

0 voti

I think you need to set the "release exists in" to R2011b.

Richiesto:

il 3 Nov 2011

Community Treasure Hunt

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

Start Hunting!

Translated by