Where can I find all the events discriptions of CommEvent?
Printable View
Where can I find all the events discriptions of CommEvent?
Hi, I've got 2 solutions for you...
1) Click on you MsComm Control then PRESS F1, PRESS "SEE ALSO" then choose "SEE MSCOMM CONSTANTS" !!! :-)
or...
2) Copy the text below...
P.S. I'am sorry for being a little rude with solution 1 if you don't have the help installed...that's why I copied it for you.
Handshake Constants
Constant Value Description
comNone 0 No handshaking.
comXonXoff 1 XOn/XOff handshaking.
comRTS 2 Request-to-send/clear-to-send handshaking.
comRTSXOnXOff 3 Both request-to-send and XOn/XOff handshaking.
OnComm Constants
Constant Value Description
comEvSend 1 Send event.
comEvReceive 2 Receive event.
comEvCTS 3 Change in clear-to-send line.
comEvDSR 4 Change in data-set ready line.
comEvCD 5 Change in carrier detect line.
comEvRing 6 Ring detect.
comEvEOF 7 End of file.
Error Constants
Constant Value Description
comEventBreak 1001 Break signal received
comEventCTSTO 1002 Clear-to-send timeout
comEventDSRTO 1003 Data-set ready timeout
comEventFrame 1004 Framing error
comEventOverrun 1006 Port overrun
comEventCDTO 1007 Carrier detect timeout
comEventRxOver 1008 Receive buffer overflow
comEventRxParity 1009 Parity error
comEventTxFull 1010 Transmit buffer full
comEventDCB 1011 Unexpected error retrieving Device Control Block (DCB) for the port
InputMode Constants
Constant Value Description
comInputModeText 0 (Default) Data is retrieved through the Input property as text.
comInputModeBinary 1 Data is retrieved through the Input property as binary data.