EasyManua.ls Logo

Tektronix 2230

Tektronix 2230
483 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Options2230 Service
Table 7-25 (cont)
Query and Response Examples
QUERY
RESPONSE
Waveform Query Examples
WFM? WFI
WFM WFI: REF1 ,CH1,10.0MV,DC,
50.0MS,SAMPLE-SMOOTH,CRV# 4 ;
WFM? PT.F
WFM PT.F:ENV;
WFM? ENC
WFM ENC:ASC;
WAVEFORM TRANSFERS
The instrument can transmit and receive waveforms. It
can transfer these waveforms, in binary, hexadecimal, or
ASCII format. When sending waveforms to the instrument,
the target is a reference memory. Waveforms transferred
from the oscilloscope to the controller are selected from
the same reference memories or the current acquisition.
The data source and data target are selected
independently.
Waveform Preamble
The waveform preamble indicates the waveform attri
butes, such as number of points per waveform, scale fac
tors, offset, horizontal increment, scaling units, and data
encoding. The preamble information is sent as an ASCII
string. The length of the string depends on the characteris
tics of the waveform.
A typical response to the preamble query WFMpre? for
a Y (time implied) acquisition is:
Query Response
WFMpre? WFM WFI:”ACQ, CHI, 0.5V, DC, 0.2MS,
SAMPLE - SMOOTH, CRV# 2",
NR.P:4096, PT.O:122, PT.F:Y,
XMlhO.OEO, XOF:0, XUN:S, XIN:2.0E-6,
YMU:20.0E-3, YOF:-20, YUN:V,
ENC:HEX, BN.F:RP, BYT:1, BIT:8,
CRV:CHK;
A typical response to the preamble query WFMpre? for
an XY acquisition is:
Query Response
WFMpre? WFM WFI:”ACQ, XY, 0.2V, DC, 50.0MV,
DC, 1.0US, SAMPLE, CRV# 19 ,
NR.P:2048, PT.O:216, PT.F:XY,
XMU:8.0E-3, XOF:0, XUN:S, XIN:20.0E-9,
YMU:2.0E-3, YOF:0, YUN:V, ENC:BIN,
BN.F:RP, BIT:8, BYT:1, CRV:CHK;
In these examples, the instrument response is shown
on multiple lines. WFMpre? responses, as well as all other
query responses, are sent as a single line of data ending
with a carriage return line feed. With the GPIB interface,
EOI is also sent if that message terminator mode is
selected.
Transferring Waveforms
The oscilloscope can respond with either the Preamble
only, Curve only, or both Preamble and Curve together:
Query
Response
CURVe? Curve Data Only
WFMpre? Preamble Only
WAVfrm?
Preamble and Curve data
When responding to the WAVfrm? query, the preamble
is separated from the curve data with a
The instrument digitizes data internally as an 8-bit,
unsigned integer. Before data is sent over the GPIB or
RS-232-C Option, it is changed into one of three formats.
7-28

Table of Contents

Other manuals for Tektronix 2230

Related product manuals