Forum - Info Center - Eltima Software

Eltima Help Center => Software for Serial and USB communication => Topic started by: simXploid on April 18, 2011, 04:47:59 AM

Title: TimeOutRead property problem
Post by: simXploid on April 18, 2011, 04:47:59 AM
I am evaluating Serial Port activex control. I want to arrange the reading time in Read and ReadStr method so it has enough time to waiting all data. I have tried to set the value in TimeOutReadInterval and TimeOutReadTotalConstant properties before call Read method, but it is not working. Pls give me advices, i use vb6 and win2000.
Title: Re: TimeOutRead property problem
Post by: Travis on April 18, 2011, 05:10:06 PM
By default BlockMode is not enabled, i.e. all Read functions only read data which are present when the method is invoked. If you want to use timeouts and read the selected data, you should switch to BlockMode for this port:

Code: [Select]
BlockMode = true;
Title: Re: TimeOutRead property problem
Post by: ganesha on December 19, 2011, 04:07:55 PM
How did you solve this?