Also see
Reading buffers (on page 6-7, on page 6-1)
bufferVar.channels
When enabled by the bufferVar.collectchannels attribute, this buffer recall attribute gets the channel,
backplane relay, or channel pattern information stored with readings in the buffer.
Details
The channels information from a reading buffer is only available if the
bufferVar.collectchannels attribute is set to 1 (default setting). If it is set to 0, you will not be
able to access the channels information from a reading buffer. You may change the collect channels
setting when the buffer is empty (bufferVar.clear()).
This read-only attribute is an array (a Lua table) of strings indicating the channel or channel pattern
associated with the measurement.
The returned value provides different information, based on what was opened or closed when the
reading was acquired:
• If no channel or channel pattern is closed when the reading was acquired, None is displayed.
• If only a single channel or backplane relay was closed, the channel number is displayed (for
example, 5003 or 5915).
• If a channel or backplane relay plus another backplane relay or other channel is closed, then the
channel number is displayed followed by a plus sign (+) (for example, 3005+ or 3915+). The
channel is in the image unless the last close operation involved only backplane relays.
• If multiple channels and backplane relays were closed in a channel list, the last channel specified
is stored. Channels take precedence over backplane relays when stored. However, if only
multiple backplane relays are specified, then the first one is stored.
• If a channel pattern was closed, then the first seven characters of the channel pattern name are
returned (for example, mypattern1 is shown as mypatte).