TimeOutRead property problem(Read 8086 times)
TimeOutRead property problem 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.



Re: TimeOutRead property problem Reply #1 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;



Re: TimeOutRead property problem Reply #2 on: December 19, 2011, 04:07:55 PM
How did you solve this?



 

Sitemap 1 2 3 4 5