From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read multiple TCP frames sequentially

Hi community,

 

I'm doing a client-server application with a state machine.

 

The server is programming in one ESP32, and it works ok.

 

The problem is the client. I need that client do this:

 

1. Connect with the server. (OK)

2. Send data to the server with parameters. (OK)

When the server receive the parameters, it process the data and send a number of frames know for the client. Is the same tath the frequency parameter sended from the client.

 

3.  I need that the client, repeat the state where receive one frame and process it, the same number of times like frames has sended. 

 

4. This information processed generate a waveform time signal, and I want to have an array with all signals.

 

The problem is coordinate the TCP read function, with the while loop and the Case structure.

 

Please help, because is very important for my studies. And sorry for my bad English.

0 Kudos
Message 1 of 3
(2,091 Views)

I am using LabVIEW 2017. Can you down convert your programs to Labview 2017?


CLD Using LabVIEW since 2013
0 Kudos
Message 2 of 3
(2,051 Views)

Of course, I think it is your version.

 

Thanks.

0 Kudos
Message 3 of 3
(2,047 Views)