LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

loss of IP packet

I am using a PXI system with LabVIEW-RT which exchanges data with a SUN (on Solaris) by a point to point ethernet link.
With LabVIEW-RT 6.1 I have seen that some times (less than one by hour) a IP packet was lost. As I was using TCP, I had a time-out linked to the retransmission delay. Now I am using UDP to avoid this delay but I have added a packet counter.
An analyze of the IP traffic has showed that the packet was lost in the PXI system.

I have upgraded my system to LabVIEW-RT 7 to check if this problem was solved. But with LabVIEW-RT 7 (and the new Ethernet driver) I loss at least one packet each 5 minutes ...

I have reinstalled LabVIEW-RT 6.1 to be able to use my configuration.

Does anybody use IP in real-time (I have a IP exchange every
10 msec) without problem ?
Is there some undocumented parameter (in NI-RT.INI for example) which could be used to configure IP ?

Thanks for your help
0 Kudos
Message 1 of 2
(2,654 Views)
Hi,

I am not sure how you are implementing it, but whenever you do TCP/IP there is no garantee that the package will not be lost, whenever you have conflict TCP/IP notifies of the error...

That is the main advantage of TCP/IP over UDP for example, UDP will spread the message and there will be no way to find out if the message got the destiny, with TCP/IP there is also going to be loss of data, however there are ways to find out when a conflict happenned.

Andre Oliveira
0 Kudos
Message 2 of 2
(2,654 Views)