LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview ESP32 TCP Read

Hello everyone, I am a bit of a novice to LabVIEW but I am trying to read sensor measurements on the LabVIEW front panel using ESP32 Labview TCP communication, it seems I am doing something wrong as the READ function is not picking up any data from ESP32

0 Kudos
Message 1 of 2
(262 Views)

That looks pretty awful but not so awful that it couldn’t work, a little bit at least.

 

You should not split the network refnum but instead do all the things on one refnum chain. While it is unlikely that you could cause any race condition here by operating the user buttons, it's simply not nice to do it like this. And you do not need to close the refnum three times, it is only one connection, no matter how many times you split the wire.

 

Without seeing your ESP32 application source code it is difficult to say how the program should be programmed on the LabVIEW side to work properly with the remote side. I would suspect that you need to at least append some termination character to the BACKWARD and FORWARD commands and you may have to fiddle with the "mode" input on the TCP Read function and/or make some minor changes to the write functionality on the ESP32 side.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 2
(233 Views)