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.
 TerminatorClick this box if the data string received from the device contains a terminator character. |
 Terminator ASCII characterSelect the ASCII code of the terminator. |
 Number of characters to readIf the data string does not contain a terminator, specify the number of characters to read. |
 Minimum number of readsIf 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 readsEnter the maximum number of reads. If no data is received within this number of reads, the request cycle will be aborted. |
 Return data 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. |
 TimeoutEnter the timeout in milliseconds. This timeout is used when attempting to read each character from the device. See also <TO_DO> |
 Remove control charactersTick 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 nullTick this box if any ASCII null (0) characters received should be ignored. |
 Flush port before readingTick this box if the receive-buffer should be flushed before reading data. |
 Ignore blank inputTick this box if blank data should not be accepted by ERP-Scale PSE as a valid response. |
Example settings:
Data string from device | Suggested settings |
{STX}123.45KG{ETX} | Terminator = ETX |
123.45{CR}{LF} | Terminator = LF Remove control = Yes |
123.55KG{CR}50.00KG{CR}173.55KG{CR}{LF} | Terminator = LF |
123.55KG{CR}50.00KG{CR}173.55KG{CR} | Terminator = CR Minimum number of reads = 3 Return all data = Yes |