
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
Содержание 86100A
Страница 18: ...1 14 Introduction Status Reporting Figure 1 4 Status Reporting Data Structures...
Страница 19: ...1 15 Introduction Status Reporting Status Reporting Data Structures continued...
Страница 94: ...2 40 Sample Programs BASIC Programming Examples...
Страница 124: ...4 16 Root Level Commands VIEW...
Страница 125: ...5 DATE 5 2 DSP 5 2 ERRor 5 3 HEADer 5 4 LONGform 5 5 MODE 5 6 SETup 5 7 TIME 5 7 System Commands...
Страница 132: ...5 8 System Commands TIME...
Страница 140: ...6 8 Acquire Commands SWAVeform RESet...
Страница 152: ...7 12 Calibration Commands STATus...
Страница 192: ...11 12 Display Commands SSAVer...
Страница 202: ...12 10 Function Commands VERTical RANGe...
Страница 203: ...13 AREA 13 2 DPRinter 13 2 FACTors 13 3 IMAGe 13 3 PRINters 13 4 Hardcopy Commands...
Страница 316: ...21 12 TDR TDT Commands Rev A 05 00 and Below STIMulus...
Страница 332: ......
Страница 353: ...26 DISPlay 26 2 LOAD 26 2 SAVE 26 3 XOFFset 26 3 XRANge 26 3 YOFFset 26 3 YRANge 26 4 Waveform Memory Commands...