NPort W2150A-W4/W2250A-W4 Series User Manual
68
Delimiter 1 and 2
Default
Disabled
Options
Disabled, Enabled, 00 to FF
Description
These fields are used to define special delimiter character(s) for data packing. Enable
Delimiter 1 to control data packing with a single character; enable both Delimiter 1 and 2
to control data packing with two characters received in sequence.
When these fields are enabled, serial data will accumulate in the serial port’s buffer until
the buffer is full or until the specified delimiter character(s) are received. For example, the
carriage return character could be used as a delimiter in order to transmit each sentence or
paragraph in a separate packet. Data will be packed according to Delimiter process.
Delimiters must be incorporated into the data stream at the software or device level.
Delimiter process
Default
Do Nothing
Options
Do Nothing, Del 1, Del 2, Strip Delimiter
Description
This field specifies how data is packed when delimiter characters are received. This field
has no effect if Delimiter 1 is not enabled.
Do nothing: Data accumulated in the serial port’s buffer will be packed, including
delimiters.
Del 1: One additional character must be received before the data in the serial
port’s buffer is packed.
Del 2: Two additional characters must be received before the data in the serial
port’s buffer is packed.
Strip Delimiter: Data accumulated in the serial port’s buffer will be packed, but the
delimiter character(s) will be stripped from the data.
Force transmit
Default
0 ms
Options
0 to 65535
Description
This field controls data packing by the time that elapses between bits of data. When using
this field, make sure that Inactivity time is disabled or set to a larger value. Otherwise the
connection may be closed before the data in the buffer can be transmitted.
0: If serial data is not received, the NPort will wait indefinitely for additional data.
1 to 65535: If serial data is not received for the specified amount of time, I will pack the
data that is currently in the buffer for network transmission. The optimal force transmit
time depends on your application, but it must be at least larger than one character interval
within the specified baudrate. For example, assume that the serial port is set to 1200 bps,
8 data bits, 1 stop bit, and no parity. In this case, the total number of bits needed to send
a character is 10 bits, and the time required to transfer one character is 8.3 ms, so the
force transmit time to be larger than 8.3 ms.