
25-4
Waveform Commands
COUNt?
20 OUTPUT 707;":WAVEFORM:BYTEORDER?"
30 ENTER 707;Setting$
COUNt?
Query
:WAVeform:COUNt?
This query returns the fewest number of hits in all of the time buckets for the currently
selected waveform. For the AVERAGE waveform type, the count value is the fewest number
of hits for all time buckets. This value may be less than or equal to the value specified with
the ACQuire:COUNt command.
For the NORMAL, RAW, INTERPOLATE, and VERSUS waveform types, the count value
returned is one, unless the data contains holes (sample points where no data is acquired). If
the data contains holes, zero is returned.
Returned Format
[:WAVeform:COUNt] <N><NL>
<N>
An integer. Values range from 1 to 262144 for NORMal, RAW, or INTerpolate types and from 1
to 32768 for VERSus type.
Example
10 DIM Count$[50]
!Dimension variable
20 OUTPUT 707;":WAVEFORM:COUNT?"
30 ENTER 707;Count$
DATA
Command
:WAVeform:DATA <block_data>[,<block_data>]
This command transfers waveform data to the instrument over GPIB and stores the data in a
previously specified waveform memory. The waveform memory is specified with the WAVe-
form:SOURce command. Only waveform memories may have waveform data sent to them.
The format of the data being sent must match the format previously specified by the wave-
form preamble for the destination memory.
VERSus data is transferred as two arrays. The first array contains the data on the X axis
(from left to right side of the graticule), and the second array contains the data on the Y axis
(from bottom to top of the graticule). The two arrays are transferred one at a time over GPIB
in a linear format. There are
n
data points sent in each array, where
n
is the number in the
points portion of the preamble.
CGRade data is transferred as a two dimensional array, 321 words high and 451 words wide.
The array corresponds to the graticule display, where each word is a sample hit count. The
array is transferred column by column, starting with the upper left corner of the graticule.
The full-scale vertical range of the A/D converter will be returned with the data query. Use
the Y-increment, Y-origin, and Y-reference values to convert the full-scale vertical ranges to
voltage values. Use the Y-range and Y-display values to plot the voltage values. All of these
reference values are available from the waveform preamble. Refer to "Conversion from Data
Value to Units" earlier in this chapter.
N O T E
This command operates on waveform data which is not compatible with Jitter Mode. Do not use this command
in Jitter Mode. It generates a “Signal or trigger source selection is not available” error.
<block_data>
Binary block data in the # format.
Summary of Contents for 86100A
Page 18: ...1 14 Introduction Status Reporting Figure 1 4 Status Reporting Data Structures...
Page 19: ...1 15 Introduction Status Reporting Status Reporting Data Structures continued...
Page 94: ...2 40 Sample Programs BASIC Programming Examples...
Page 124: ...4 16 Root Level Commands VIEW...
Page 132: ...5 8 System Commands TIME...
Page 140: ...6 8 Acquire Commands SWAVeform RESet...
Page 152: ...7 12 Calibration Commands STATus...
Page 192: ...11 12 Display Commands SSAVer...
Page 202: ...12 10 Function Commands VERTical RANGe...
Page 203: ...13 AREA 13 2 DPRinter 13 2 FACTors 13 3 IMAGe 13 3 PRINters 13 4 Hardcopy Commands...
Page 316: ...21 12 TDR TDT Commands Rev A 05 00 and Below STIMulus...
Page 332: ......