11-28-2005 08:10 PM
11-29-2005 05:04 PM
Togos,
I found some very helpful suggestions in the LabVIEW help about TCP Read. I think the best would be to prepend the number of bytes the data is going to be to the C++ server output. Then in LabVIEW you can set up two TCP Read functions: one to read the number of bytes and the other to read the rest of the data. This would only be a solution if you had access to the code for your server though. If you don't have access you could have the maximum bytes to read as your Bytes to Read input and shorten the timeout value. You can then clear the timeout error you get to prevent popups and hopefully get all of the data that you need. I would recommend checking out the help file for more specifics.
Hope this helps!
Andy F.