General information
Category:
ActiveX controls in VFP
Environment versions
Network:
Windows 2003 Server
>Thanks for your suggestion. I removed the debug commands but the lqin variable (which had been set to ot.Input) was empty at the end of the procedure.
>
>I find it puzzling that everything works as expected and I can read and parse the data from the device in interactive mode but not inside a program even though the commands are identical.
>
>Thanks again for your time.
Sorry, if it didn't help. It's hard to tell what's going on. Perhaps play some of the properties.
If you eg set RThreshold and SThreshold you will get OnComm events, their default is 0, so no event will fire.
And with Inputlen you can control the block size of inputs, 0 means the whole input is read. Set EofEnable to enable OnComm to fire, when an EOF -end of line is received.
It also depends on the kind of input you expect. Inputmode can be switched to ansi text or binary byte array.
Bye, Olaf.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only