04-06-2017 02:24 AM
Hello,
My project is designing a server using TCP in LabVIEW to write a command to the client which is an Android mobile application and then reads a command from it.
But I have a problem with the LabVIEW where it writes the string "Hello Hi" that I send it to the client but it is not reading anything from the client!
I have checked the client part and it is writing but the server is not reading anything from it.
So, I am not sure what I am doing wrong in the server part. It is attached below.
04-06-2017 04:17 AM
Will adding a small delay between write and read helps solve the problem?
04-06-2017 04:32 AM
I tried adding a delay, it is still not working..
04-06-2017 05:01 AM
Have a deep look at this.
04-06-2017 06:22 AM
You have to tell the TCP Read how many bytes to read.
04-06-2017 11:03 AM
I have tried setting it to 1 byte or 16 bytes, it is still not working..
Can I change the indicator to something else instead?