Group Serial Port
Com_Break()
Sets a BREAK state on the send line for a specified period of time.
Com_Break( <nComPortNum>, [<nMilliSeconds>] ; // Default: 100 ) --> lSuccess
Com_Close()
Closes the receive queue of a COM port.
Com_Close( <nComPortNum>, <nComFlush> ; // Default: 0 ) --> lClosed
Com_Count()
Returns the number of bytes in the receive queue.
Com_Count( <nComPortNum> ) --> nBytesToBeReceived
Com_CRC()
Performs a Cyclic Redundancy Check for strings.
Com_CRC( <cString>, [<nStart>], ; // Default: 0 [<nPolynome>] ; // Default: 69665 ) --> nCRCvalue
Com_CTS()
Returns Clear To Send status.
Com_CTS( <nComPortNum> ) --> lCTS_Is_Active
Com_DCD()
Returns Data Carrier Detect state.
Com_DCD( <nComPortNum> ) --> lDCD_Is_Active
Com_DosCon()
Function Com_DosCon() is not supported.
Com_DSR()
Returns Data Set Ready state.
Com_DSR( <nComPortNum> ) --> lDSR_Is_Active
Com_DTR()
Sets or retrieves the Data Terminal Ready state.
Com_DTR( <nComPortNum>, [<lNewDTRState>] ) --> lOld_DTR_State
Com_ErrChr()
Defines character for error replacement.
Com_ErrChr( <nComPortNum>, ; // Type: N [<nErrorChar|cErrorChar>] ; // Type: NC Default: "" ) --> lSuccess
Com_Event()
Waits for an event or a character to arrive at a COM port
Com_Event( <nComPortNum> ; // Type: N ) --> nCode
Com_Flush()
Flush receive queue of a COM port.
Com_Flush( <nComPortNum> ) --> lFlushed
Com_GetIO()
Function Com_GetIO() is not supported.
Com_GetIRQ()
Function Com_GetIRQ() is not supported.
Com_Hard()
Toggles automatic hardware handshake.
Com_Hard( <nComPortNum>, [<lNewHandShake>], [<lDTR_DSR>] ) --> lOldHandshake
Com_Init()
Initializes a COM port
Com_Init( <nComPortNum>, [<nBaudrate>], ; // Default: 300 [<cParity>], ; // Default: "N" [<nBitLength>], ; // Default: 8 [<nStopBits>] ; // Default: 1 ) --> lInitialized
Com_Key()
Function Com_Key() is not supported.
Com_LSR()
Reads the Line Status Register.
Com_LSR( <nComPortNum> ) --> nLSR
Com_MCR()
Sets or retrieves the Modem Control Register.
Com_MCR( <nComPortNum>, [<nMCR>] ) --> nMCR
Com_MSR()
Reads the Modem Status Register.
Com_MSR( <nComPortNum> ) --> nMSR
Com_Num()
Available number of RS-232 devices.
Com_Num() --> nMaxCom
Com_Open()
Opens a COM port.
Com_Open( <nComPortNum>, <ignored>, <ignored>, <ignored>, [<nOpenMode>] ; // Default: 0 ) --> lIsOpen
Com_Read()
Reads characters from the specified COM port.
Com_Read( <nComPortNum>, [<nBytesToRead>], <ignored> ) --> cString
Com_ReadMode()
Controls the Read Timeout processing characteristics of the device driver.
Com_ReadMode( <nComPortNum>, <nMode>, [<nTimeout>] ; // Default: 100 ) --> lSuccess
Com_Remote()
Function Com_Remote() is not supported
Com_Ring()
Retrieves modem Ring Indicator.
Com_Ring( <nComPortNum> ) --> lRing_Is_Active
Com_RTS()
Sets or retrieves Request To Send status.
Com_RTS( <nComPortNum>, [<lNewRTSState>] ) --> lNewRTS
Com_SCount()
Retrieves the number of bytes stored in the transmit buffer.
Com_SCount( <nComPortNum> ) --> nBytesToSend
Com_Send()
Writes data to the specified COM port
Com_Send( <nComPortNum>, ; // Type: N <cString|nASCIICode> ; // Type: CN ) --> nBytesNotSent
Com_SendMode()
Controls Write Timeout characteristics of the physical device driver.
Com_SendMode( <nComPortNum>, <nMode>, [<nTimeout>] ; // Default: 100 ) -->
Com_SetIO()
Function Com_SetIO() is not supported.
Com_SetIRQ()
Function Com_SetIRQ() is not supported.
Com_SFlush()
Flushes the transmit queue of a specific COM port.
Com_SFlush( <nComPortNum> ) --> lFlushed
Com_SKey()
Function Com_SKey() is not supported.
Com_SMode()
Retrieves current state of sending (transmit status).
Com_SMode( <nComPortNum> ) --> nSendMode
Com_Soft()
Toggles automatic software handshake (XON/XOFF).
Com_Soft( <nComPortNum>, [<lNewHandShake>], [<cXONChar>], ; // Default: Chr(17) [<cXOFFChar>] ; // Default: Chr(19) ) --> lOldHandshake
Com_Soft_R()
Checks whether an XOFF signal was received.
Com_Soft_R( <nComPortNum>, [<lStartTransmitter>] ) --> lXOFFflag
Com_Soft_S()
Checks whether transmitter is about to send an XON signal.
Com_Soft_S( <nComPortNum> ) --> lXOFFflag
XMoBlock()
Builds a block for the XModem protocol.
XMoBlock( <cString>, <nBlocknumber>, [<lCRC>], ; // Default: .F. [<nMode>] ; // Default: 1 ) --> cXModemBlock
XMoCheck()
Checks whether the received block is a valid XModem block.
XMoCheck( <cBlock>, [<lCRC>] ; // Default: .F. ) --> nBlockNumber
ZeroInsert()
Encodes a string according to CCITT specifications.
ZeroInsert( <cBlock> ) --> cEncodedString
ZeroRemove()
Decodes a CCITT encoded string.
ZeroRemove( <cBlock> ) --> cDecodedString