Click or drag to resize

CommandListAppendSerialPortVerifyResponse(String, String) 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 AppendSerialPortVerifyResponse(
	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.

NB: if End-Of-Message sequences are required, they must be explicitly included at the ends of the message and the goodResponse, e.g. "mymessage\n", "mygoodresponse\n".

See Also