LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

send to data from client to server on startup only using tcp

Hello, 

I have to packets of data to send from a client to a server using TCP.

I have used two WRITE TCP functions. One inside an event case structure upon startup and the other one outside. Then everything is enclosed in a while loop.

The problem I am facing is: The 1st packet on startup is send successfully. however the second one which is supposed to be continuous does not continuously receive data. It only receives what was written to it in the first time.

Regards,

0 Kudos
Message 1 of 2
(2,373 Views)

I don't have LabVIEW 2017 yet, so I cannot look at your code.  But from the description, it sounds like your loop will not iterate because it is waiting for the Event Structure to execute (ie you press the button).  Can you post a snippet of your code (Edit->Create Snippet from Selected Code)?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,345 Views)