Thanx, guys. When the HELP said you could set up serial as polling or event-driven, I took that very literally thinking one-scan, one data read. I've also been working without an ETX (CrLf) and basing validation (and scan cycle- I thought) on NOT having a NOREAD and correct length of data...
Thanx Walter.
Actually, I had resorted to that yesterday for no apparent reason, but it still didn't solve my problem. The behavior in debug mode is different than live. In live mode it seems to cycle thru constantly as if it were polling. In debug, the program stops to wait for initial...
This is an app for a stationary raster scanner.
Can anyone tell me why the program below cycles thru the OnComm event 2-3 times when starting up or after a bad scan?
Stepping thru from the beginning, before any data is received I can type ? MSCOMM1.CommEvent into the Immediate window and it...
I changed scanners. I'm using a serial MS-860. I've checked for communication and I can get data in Hyperterminal and ESP. When Stepping thru, .portopen is false and I cannot make it open. I've added error handling, but it still won't open. I've made sure Hyperterm. and other programs which...
Can anyone see a problem with this code? I'm testing with a USB scanner, tho I want to eventually use a raster. It doesn't seem to get past the Form Load. Data appears in the text box, but I'm not sure if it is serial, because it never gets to the OnComm event. ENTER key doesn't fire it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.