14 sense:hist and sense:caltab data array commands – Boonton 4530 Peak Power Meter User Manual User Manual

Page 114

Advertising
background image

4-40

Chapter 4

Boonton Electronics

Remote Operation

4530 Series RF Power Meter

SENSe:SBUF:COUNt

Description:

Set or return the number of samples (power readings), which will be returned each time the

SENSe:SBUF:DATA?

query is issued in “user” sampling mode. At the completion of

each read, INDEX is automatically incremented by COUNT. If COUNT is set to a number
greater than the number of points remaining in the sample array, the array will be truncated.
Setting COUNT to (1 + PREsamp + POSTsamp), (and INDEX to zero each time) will return
the entire sample buffer.

Syntax:

SENSe:SBUF:COUNt <n>

Argument:

<n> = 0 to 12000 (see restrictions)

Valid Modes:

Pulse mode only,

SENSe:SBUF:MODE

must be ON.

Restrictions:

COUNT <= (PREsamp + POSTsamp)

SENSe:SBUF:INDEX

Description:

Set or return the array index for the first sample buffer point to be returned next time the

SENSe:SBUF:DATA?

query is issued. Index 0 corresponds to the sample at (or closest

to) the trigger point. Samples with negative INDEX values are pretrigger points, and posi-
tive values are posttrigger points. Each time a block of data is read, INDEX is automatically
incremented by the COUNT value, so the full array can be split up into blocks of manage-
able size and read with successive

SENSe:SBUF:DATA?

queries.

Syntax:

SENSe:SBUF:INDEX <n>

Argument:

<n> = -12000 to +12000 (see restrictions)

Valid Modes:

Pulse mode only,

SENSe:SBUF:MODE

must be ON.

Restrictions:

-PREsamp <= INDEX <= POSTsamp

SENSe:SBUF:DATA

Description:

Return a comma-delimited array of power points corresponding to all or a portion of the
“user” mode sample buffer for the selected channel. Note that graph mode does not have
to be active to read the buffer, and the power points are returned without regard to display
vertical span and center settings. The array will consist of COUNT buffer points, beginning
at point number INDEX. The buffer may span both pretrigger and posttrigger intervals.
Power is returned in currently selected units for that channel.

Syntax:

SENSe[1|2]:SBUF:DATA?

Returns:

P(index), P(index+1), P(index+2).... P(index+count)

Valid Modes:

Pulse mode only,

SENSe:SBUF:MODE

must be ON.

4.5.14 SENSe:HIST and SENSe:CALTAB Data Array Commands

The purpose of the SENS:HIST and SENS:CALTAB groups of commands is to output a power distribution histogram
array and corresponding power point array. These commands are used in STATISTICAL mode, and allow for EXTER-
NAL statistical analysis of a long acquisition of power samples via a spreadsheet or other database program. The HIST
commands return a histogram, which is an array of 4096 “bins”, each one corresponding to a particular power level, and
containing the number of samples that have occurred at that power level. The CALTAB commands return the power
calibration table (or “caltable”), which is the same size as the histogram (4096 points), and contains the power level for
each corresponding bin in the histogram. The power values are not equally spaced, so it is necessary to know both the
histogram and caltable arrays to compute statistical information about the input signal.

Advertising