Open () | Opens a connection to the device specified by IOType & Device. |
Close () | Closes connection. |
Read (...) | Reads data with maximum length of nBytes within the period defined by timeout. |
GetNoOfBytesRead () | Returns the number of bytes received during the last Read method. |
ClearBuffer () | Deletes all data from the input buffer. |
Write (...) | Writes data with length of nBytes within the period defined by Timeout. |
StartListen () | Starts asynchronous mode: OnData events are fired when data is received by the specified interface (IOType & Device). |
StopListen () | Stops asynchronous mode. |
SetStates (...) | Set status of interface status line(s). |
AboutBox () | Displays about dialog. |
EscapeZeroBytes (...) | Represent Zero Bytes (binary value = 0x00) as "\0" in the input/output data stream. Avoids truncation of strings by Zero Bytes in COM wrappers (such as used by Visual Basic). |
LicenseMe (...) | Licensing by program code. After applying a valid license key the demo version is turned into a full version. The insertion of "Demo" into the data stream will be disabled. |
Licensing () | Opens the license dialog for manual licensing. After entering a valid license key the demo version is turned into a full version. |
OnData (...) | Each time when data is received an OnData event is thrown (in asynchronous mode). The data read from the device is returned within the Data argument. |
OnStatusChange (...) | Each time when a status line changes its state, this event will be fired (in asynchronous mode). The changes are passed as array in the States argument. |
OnClose () | This event occurs when the server closes the connection (only available for IOType "TCP"). |
OnError () | This event will be fired when an error occurs (only available during asynchronous mode). |
TranslateErrorNo (...) | Translates the error number given by the OnError event to the corresponding error text. |
SetDebugLevel (...) | Enables tracing of TConnector's internal activities into a log-file. |
GetStates () | Returns an array of actually set states. |
SetSingleState (...) | Like SetStates(), but only to set a single state. |
EmulateKeys (...) | Translates an input string into virtual key strokes and puts them into the keyboard events message queue. |
UseCodePage (...) | Adjusts Codepage to be used for Unicode-MultiByte string conversion. |