Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. longbeard

    MSCOMM-multiple cycles

    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...
  2. longbeard

    MSCOMM-multiple cycles

    That probably accounts for why the project behaves differently in RUN verses Debug mode. I'll give this a try. Thanx, TedSmith! Wallace
  3. longbeard

    MSCOMM-multiple cycles

    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...
  4. longbeard

    MSCOMM-multiple cycles

    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...
  5. longbeard

    MSComm.ComEvent not firing

    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...
  6. longbeard

    MSComm.ComEvent not firing

    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...

Part and Inventory Search

Back
Top