LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

UDP receiver in LV

I think you miswrote something in your previous post, it sounded like you had set the DSP and the PC to the same address: "when I set the IP address of the DSP to 10.110.41.57, the PC with IP address of 10.110.41.57 seems to receive no data."

To make sure I understand, do you have a direct Ethernet connection between the PC and DSP during your testing? I recommend that you leave the "net address" input of UDP Open unwired. What are the rest of the network settings on the DSP? Do you have any network connectivity between the DSP and PC? Does the DSP respond to a ping from the PC?
0 Kudos
Message 11 of 15
(631 Views)

Hi,Nathand,

   Sorry for the mistake I made in the text. The IP address of the DSP and PC are different(10.110.41.56/10.110.41.57). I have connected the DSP and PC directly through RJ45 socket via a net cable. When I send data from the DSP to PC via UDP, I can see those data on Wireshark. I have not embedded ICMP protocol in DSP yet. However, I wonder the Wireshark thing somehow validates the connectivity of the DSP and PC. 

0 Kudos
Message 12 of 15
(611 Views)

Directly, as in a single cable?

 

Did you use an ethernet crossover cable?

0 Kudos
Message 13 of 15
(596 Views)

Yes, I connected the DSP and PC through a crossover cable via RJ45 socket. 

0 Kudos
Message 14 of 15
(565 Views)

Thank you, guys, the problem has been solved. It was the IP checksum that caused the problem. Wireshark does not validate the IP checksum check under default mode. Therefore, I did not manage to notice the wrong byte order of the IP checksum. Now everything seems to be working fine. Anyway, thank you guys for your kindly help!

0 Kudos
Message 15 of 15
(546 Views)