Click or drag to resize

CommandListAppendSerialPortVerifyResponseLine Method

Sends a message via the serial port, and waits for an expected response.


Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.4.1
Syntax
C#
public void AppendSerialPortVerifyResponseLine(
	string message,
	string goodResponse
)

Parameters

message  String
The message to be sent.
goodResponse  String
The expected good response indicating success.
Remarks
Appends a SERIAL_PORT_VERIFY_RESPONSE command to the list.

The configured SerialPortConfigNewLine sequence is automatically appended to the message, and is expected to terminate the goodResponse.

See Also