Sense:mbuf:position, Sense:mbuf:count, Sense:mbuf:index – Boonton 4540 Peak Power Meter User Manual User Manual

Page 194: Sense:mbuf:position -60, Sense:mbuf:count -60, Sense:mbuf:index -60, Boonton 4540 series rf power meter, Remote operation

Advertising
background image

Boonton 4540 Series RF Power Meter

Remote Operation

5-60

SENSe:MBUF:POSition

Description:

Return the current acquisition (write) position into the measurement buffer, which is the index of
the next buffer point which will be written to. This query is useful for determining whether the
measurement buffer is full. A value of zero indicates that no points have been acquired into the
buffer yet, and a value equal to SIZE indicates that the buffer is full. In Circular/FIFO mode, the
acquisition position will automatically wrap back to the beginning after it reaches the end.

Note that the POSITION value returned applies to both channels, since operating modes and
buffer write positions are synchronized. POSITION is automatically reset to zero whenever SIZE
is changed.


Syntax:

SENSe:MBUF:POSition?

Returns:

current acquisition (write) index, 0 to 1048576

Valid Modes:

Pulse and Modulated.


SENSe:MBUF:COUNt

Description:

Set or return the maximum number of measurement buffer readings which will be returned each
time the SENSe:MBUF:DATA? query is issued. If COUNT is set to a number greater than the
number of points remaining in the measurement buffer, the returned array will be truncated.

Setting COUNT equal to SIZE will return the entire measurement buffer, provided that SIZE does
not exceed the maximum argument limit for COUNT. Due to output buffer memory limitations, it
is not possible to return an entire, full-length buffer in a single query – it will be necessary to read
very large buffers using multiple queries. Note that the COUNT parameter affects all reads of the
measurement buffer, regardless of channel.


Syntax:

SENSe:MBUF:COUNt <numeric_value>

Argument:

<numeric_value> = 1 to 4096

Valid Modes:

Pulse and Modulated.

SENSe:MBUF:INDEX

Description:

Set or return the array read index for the first measurement buffer point to be returned next time
the SENSe:MBUF:DATA? query is issued for the selected channel. Index 0 corresponds to the
first point in the buffer, and index SIZE-1 is the last. Each time a buffer block is read, INDEX is
automatically incremented by the number of points returned, so the full array can be split up into
blocks of manageable size and read with successive SENSe:MBUF:DATA? queries.

In fixed-length mode, INDEX must be reset to zero for each new measurement buffer that is to be
dumped, whether or not the entire buffer has been read. In circular/FIFO mode, INDEX will
automatically wrap, and does not need to be reset. The INDEX value is maintained separately for
each channel, and is automatically reset to zero when SIZE is changed.


Syntax:

SENSe[1|2]:MBUF:INDEX <numeric_value>

Argument:

<numeric_value> = 1 to 1048575

Valid Modes:

Pulse and Modulated.

Advertising