User`s guide
4: FMP Link Configuration Options
DC 900-1339H 79
4.10 Buffer Timer Option (15)
This option allows you to control the amount of time the FMP software holds a buffer
containing data while waiting for additional data. The Buffer Timer interval is specified
in tenths of seconds and can range from 0 (infinite delay) to 8000 (800 seconds). This
option prevents you from waiting indefinitely for a terminating character that does not
arrive. This option applies only when line mode is asynchronous or isochronous; that
is, the line mode option is set to a value greater than or equal to 2. If the interval expires,
the current buffer, if it has data, is sent to the client with the error field marked with
DLI_ICP_ERR_NO_TERM_CHAR. All buffers marked with DLI_ICP_ERR_NO_TERM_CHAR are
sent to the client with the
dlRead optArgs.usProtCommand field set to
DLI_PROT_RECV_PACKED_DATA. The asynchronous terminating character option is
described in Section 4.19.
To set this option using the DLI configuration file, use the
bufferTimer parameter; for
example,
bufferTimer = 0. See Table 5–1 on page 104.
Figure 4–5: Data Packing Enabled (Message Blocking = Raw Blocks with Header)
Message Blocking = Raw Blocks (With Header)
Data Packing = Enabled
3274
09 00 0
<soh> A B C <etx> <bc1>
09 01 0
<soh> D E F <etx> <bc2>
14 02 0
<soh> G H I <us> <bc3>
J K L <etx> <bc4>
Note 5-byte header in this example: 09 00 0
Where: 09 = size of block including seq # and error code
00 = Simpact generated sequence number of block
0 = error code for block