Click or drag to resize

OhioScreenWaitForStrRecvAsync Method

Waits for text to be received from the VT host. Note that space characters are ignored.

Namespace: Flex.Hal.Ohio
Assembly: Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 6.0.8219.1880
Syntax
public Task<bool> WaitForStrRecvAsync(
	string text,
	CancellationToken canceltoken = default
)

Parameters

text  String
Text to wait for.
canceltoken  CancellationToken  (Optional)
Token to cancel the wait.

Return Value

TaskBoolean
True if text is received before a time-out or cancellation; otherwise, false.
Exceptions
ExceptionCondition
TimeoutExceptionWaitThrowException is enabled and a time-out occurs.
OperationCanceledExceptionWaitThrowException is enabled and a cancellation occurs.
See Also