xPC Target Ethernet Buffer

5 views (last 30 days)
Yves K
Yves K on 10 Mar 2011
I run two xPC Targets :
- the first sends some UDP messages to the second, using xPC Target/UDP/Send blocks, to the same IP address, different UDP ports, at rate 0.1s .
- the second receives those messages, using xPC Target/Ethernet/Rx,Filter dest MAC address, Filter EtherType, Extract Ethernet Packet, at rate 0.0025s .
The problem is that if the first target send two messages - one big long one short - at the same time, the second receives in the buffer : the short one and the end of the long one.
I'm looking for and example of ethernet-receive model that shows how to use the buffers correctly.

Answers (0)

Community Treasure Hunt

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

Start Hunting!