07-05-2012 01:26 PM
07-05-2012 01:36 PM
Hi,
The byte count that is already high is in the buffer re-size, after the initialization, before the loop. The Byte count for the read ( in the loop) should be set high, thus the read will keep reading until either the byte count is meet, the termination is meet, or there is a timeout.
The original data read doesn't use the re-size buffer. No need to put that in the new Thesis, unless you have a specific reason.
The 'too less bytes' means there is probably more data in the buffer, the size to increase there is in the read, not adding a buffer re-size.
Hope this helps.
***
Is it possible to save the "read" data directly to file, then you can take a look at what is being read. Or put a probe and a stop so you can look at the read data each loop.
07-05-2012 01:50 PM
07-05-2012 02:41 PM