Message
From
28/09/2006 09:04:21
 
 
General information
Fórum:
Visual FoxPro
Category:
Controles ActiveX no VFP
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP2
Miscellaneous
ID da thread:
01157804
ID da mensagem:
01157815
Views:
11
Viv,

>It's not assigning a variable - it's sending the string to the transmit buffer. I guess if you want it to go faster you need a faster baud rate...

Correct, but only to a point. Try the following:
sendstart = SECONDS()
this.mscomm1.output = SPACE(100)
buffcount  = this.mscomm1.outBufferCount
sendend = SECONDS()
outputtime = sendend-sendstart
buffcount wil always be 0. Control doesn't return to VFP until the entire output buffer is empty.
Previous
Next
Responder
Mapa
View