
25-3
Waveform Commands
BANDpass?
Conversion from
Data Value to
Units
To convert the waveform data values (essentially A/D counts) to real-world units, such as
volts, use the following scaling formulas:
Y-axis Units = (data value – Yreference)
×
Yinc Yorigin
X-axis Units = (data index – Xreference)
×
Xinc Xorigin,
where the data index starts at zero: 0, 1, 2, . . . ., n-1.
The first data point for the time (X-axis units) must be zero so the time of the first data point
is the X origin.
N O T E
This conversion is not required for waveform data values returned in ASCII format.
Data Format for
GPIB Transfer
There are four types of data formats that you can select with the WAVeform:FORMat com-
mand: ASCii, BYTE, WORD, and LONG. Refer to the FORMat command in this chapter for
more information on data format.
BANDpass?
Query
:WAVeform:BANDpass?
This query returns an estimate of the maximum and minimum bandwidth limits of the source
signal. Bandwidth limits are computed as a function of the coupling and the selected filter
mode. Cutoff frequencies are derived from the acquisition path and software filtering.
Returned Format
[:WAVeform:BANDpass]<upper_cutoff>,<lower_cutoff><NL>
<upper_cutoff>
Maximum frequency passed by the acquisition system.
<lower_cutoff>
Minimum frequency passed by the acquisition system.
Example
10 DIM Bandwidth$[50]
!Dimension variable
20 OUTPUT 707;":WAVEFORM:BANDPASS?"
30 ENTER 707;Bandwidth$
BYTeorder
Command
:WAVeform:BYTeorder {MSBFirst | LSBFirst}
This command selects the order in which bytes are transferred to and from the analyzer using
WORD and LONG formats. If MSBFirst is selected, the most significant byte is transferred
first. Otherwise, the least significant byte is transferred first. The default setting is MSBFirst.
MSBFirst is for microprocessors, like Motorola’s, where the most significant byte resides at
the lower address. LSBFirst is for microprocessors, like Intel’s, where the least significant
byte resides at the lower address.
Example
This example sets up the analyzer to send the most significant byte first during data trans-
mission.
10 OUTPUT 707;":WAVEFORM:BYTEORDER MSBFIRST"
Query
:WAVeform:BYTeorder?
The query returns the current setting for the byte order.
Returned Format
[:WAVeform:BYTeorder] {MSBFirst | LSBFirst}<NL>
Example
10 DIM Setting$[10]
!Dimension variable
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: ......