LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with UDP Receiver

Solved!
Go to solution

I have a ESP32 WiFi module sending millisecond values ( unsigned long ) via UDP on port 52791.

I am able to read the same on a iPhone based App with no issues.

But the LabVIEW code as attached refuses to read anything and read function returns Error 56.

Not sure what is wrong. ( The laptop running the code is on the same network as the ESP32 module.

UDP Receiver.png

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 1 of 3
(2,072 Views)
Solution
Accepted by MogaRaghu

Hi Raghunathan,

 

Can you check that your firewall is not blocking this port on your computer? Can you try different ports and see if that helps?

 

Best,

Claire C.
AppSW Staff Product Support Engineer
National Instruments
CLD|CTD
Message 2 of 3
(2,007 Views)

I noticed that the UDP reception was OK on another new PC.

In my laptop there was a disabled Windows Defender and also a full time Kaspersky Anti virus. In the process even private networks were being firewalled. Once this was corrected the problem was solved. 

 

Thanks for the suggestion !!

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 3 of 3
(1,996 Views)