Khachik Sahakyan
Khachik Sahakyan

Reputation: 1982

UDP broadcast in LabVIEW

I have the following simple code implemented in LabVIEW for Windows PC. enter image description here

Also, I have an app on another machine which sends 18-byte length UDP packages.

When the sender sends the package directly, everything works fine. I receive the correct package:

810A 0012 0120 FFFF 00FF 1008 0900 1B04 1EB0

Once I set the package to be broadcasted locally or globally I receive 25-byte length package. 60% of the package matches the reality, here it is:

810B 0019 0120 FFFF 00FF 1000 C402 0000 7B22 0400 9103 2201 04

I run the Wireshark and see that my network card receives a correct package for both cases (direct traffic or broadcast). So the problem is with my LabVIEW code or UDP read function in LabVIEW.

Did you have such an experience?

Upvotes: 2

Views: 2021

Answers (1)

MarcoM
MarcoM

Reputation: 1204

Sending Port and IP address of the wrong packet are correct? Is the source your app?

Maybe somebody else is sending the second packet.

Upvotes: 2

Related Questions