Dear all,
I use UDP blocks from xPC target library to send and receive data between xPC and host pc.
The Receive block has two output ports. The first port is the output of the received data. The second one is a flag indicating whether any new data has been received. The second one reflects the "pacakgeLoss".
During the implementation, the comunication (send and recieve 2 "doubles" data at 100Hz) suffers a great "packageLoss", about 20%. The network is LAN and very fast. I 'd like to ask whether this the nature of UDP with a great packageLoss?
I know I could use 'feedback' method introduced by the UDP demo from matlab help to re-send the lost package. However it does not improve the packageLoss fundamantally.
Does anyone have any idea about this? Thanks.
Lily
Best Answer