Provides access to SerialPort handling operations.
Inheritance Hierarchy Namespace: RAYLASE.SPICE3.ClientLibAssembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.7.0
Syntaxpublic class SerialPortAPI : Spice3API
The SerialPortAPI type exposes the following members.
Methods | Name | Description |
---|
 | GetConfig |
Gets the current configuration from the card.
|
 | LoadConfig |
Loads the current configuration from the card's local storage.
|
 | ReceiveBytes |
Receives a binary message of a specified length via the card's serial port,
waiting up to the configured ReadTimeout period.
|
 | ReceiveLine |
Receives a string of characters and the configured end-of-line sequence via the card's serial port,
waiting up to the configured ReadTimeout period.
|
 | ReceiveString |
Receives a string of characters via the card's serial port,
waiting up to the configured ReadTimeout period.
|
 | SetConfig |
Sets the current configuration on the card.
|
 | StoreConfig |
Stores the current configuration in the card's local storage for later (re-)loading.
|
 | Transmit(Byte) |
Sends a binary message via the card's serial port.
|
 | Transmit(String) |
Sends a string of characters via the card's serial port.
|
 | TransmitLine |
Sends a string of characters and the configured end-of-line sequence via the card's serial port.
|
 | TryVerifyResponse(Byte, Byte) |
Sends a binary message via the card's serial port,
and waits up to the configured ReadTimeout period for the expected response.
|
 | TryVerifyResponse(String, String) |
Sends a string of characters via the card's serial port,
and waits up to the configured ReadTimeout period for the expected response.
|
 | TryVerifyResponseLine |
Sends a string of characters and the configured end-of-line sequence via the card's serial port,
and waits up to the configured ReadTimeout period for the expected response.
|
 | VerifyResponse(Byte, Byte) |
Sends a binary message via the card's serial port,
and waits up to the configured ReadTimeout period for the expected response.
|
 | VerifyResponse(String, String) |
Sends a string of characters via the card's serial port,
and waits up to the configured ReadTimeout period for the expected response.
|
 | VerifyResponseLine |
Sends a string of characters and the configured end-of-line sequence via the card's serial port,
and waits up to the configured ReadTimeout period for the expected response.
|
Top
See Also