[dba-VB] [AccessD] MSComm control - Cross post AccessD & dba-vb

Joe Rojas JRojas at tnco-inc.com
Fri Jul 11 09:49:06 CDT 2003


Hi All,

I am using the MSComm control to capture data the is coming over the serial
port.
I am using the OnComm event to determine when data is received by looking at
the ComEvent property and detecting a comEVReceive status.

When the attached device sends information to the serial port it actually
send 3 lines of information (on average, could be more).
What I am wondering is when does the OnComm event fire? Does it fire after
all the data has been received or does it fire as soon as the first
character is received into the input buffer? What I am trying to avoid is
pulling the data from the input buffer before all the data is there. That
way I can capture everything I need before I start parsing the data.

Any ideas?

Thanks!
Joe R.




This electronic transmission is strictly confidential to TNCO, Inc. and
intended solely for the addressee. It may contain information which is
covered by legal, professional, or other privileges. If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy, or take any action in reliance on this
transmission. If you have received this transmission in error, please notify
the sender as soon as possible and destroy this message. While TNCO, Inc.
uses virus protection, the recipient should check this email and any
attachments for the presence of viruses. TNCO, Inc. accepts no liability for
any damage caused by any virus transmitted by this email.
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the dba-VB mailing list