Note: To ensure successful data communication, either a terminator character or number of characters must be specified. If possible, use a terminator character as this provides more reliable communication.
Click this box if the data string received from the device contains a terminator character.
Terminator ASCII character
Select the ASCII code of the terminator.
Number of characters to read
If the data string does not contain a terminator, specify the number of characters to read.
Minimum number of reads
If your device (serial or network) provides a continuous data stream (without request string), use at least 2 reads to ensure a complete data string is received.
For devices which provide the data on-demand (with request string), a single read must be used.
Maximum number of reads
Enter the maximum number of reads. If no data is received within this number of reads, the request cycle will be aborted.
Normally, the data is required in a single data string. However, if multiple data strings are required and no specific end-of-message terminator is provided, the data from multiple reads may be required. See below for examples.
Enter the timeout in milliseconds.
This timeout is used when attempting to read each character from the device. See also <TO_DO>
Remove control characters
Tick this box if all control characters (ASCII code less than 32 or greater than 128) should be removed.
Do not tick this box if the data string uses control characters as data separators.
Ignore ASCII null
Tick this box if any ASCII null (0) characters received should be ignored.
Flush port before reading
Tick this box if the receive-buffer should be flushed before reading data.
Ignore blank input
Tick this box if blank data should not be accepted by ERP-Scale PSE as a valid response.
Data string from device
Terminator = ETX
Terminator = LF
Remove control = Yes
Terminator = LF
Terminator = CR
Minimum number of reads = 3
Return all data = Yes