1 the input buffer, 2 the output queue, 3 response messages – B&K Precision 4045B - Manual User Manual

Page 68

Advertising
background image

68

4.3.1 The Input Buffer

The device has a 128-byte long cyclic input buffer.

Decoding of remote messages is begun as soon as the

input buffer is not empty, that is, as soon as the controller

has sent at least one byte to the device. Should the input

buffer be filled up by the controller faster than the device

can remove the bytes and decode them, the bus

handshake (CTS/RTS) is used to pause data transfer until

room has been made for more bytes in the buffer. This

prevents the controller from overrunning the device with

data.

4.3.2 The Output Queue

The device has a 100-byte long output queue in which it

stores response messages for the controller to read. If at

the time a response message is formatted the queue

contains previously formatted response messages, such

that there are not enough places in the queue for the new

message, the device will hold off putting the message in

the queue until there is a place for it.

4.3.3 Response Messages

The device sends a Response Message in response to

a valid query. All queries return a single Response

Message Unit.

Advertising