Query Responses; Table 3-3: Header In Query Responses - Sony Tektronix VX4792 User Manual

Arbitrary waveform generator
Table of Contents

Advertisement

Query Responses

VX4792 User Manual
Note that the mnemonics :FG and :CH1 are assumed from the first header by the
headers that follow. The following command descriptions are valid examples of
commands shortened using the principle just described. (Note that the insertion
of common commands, such as *SRE, between headers does not prevent the
headers that follow from assuming the earlier header mnemonics.)
:FG:CH1:AMPLITUDE 3.5; OFFSET 1.5; :FG:CH2:AMPLITUDE 3.5;
OFFSET 1.5
:FG:STATE ON; CH1:SHAPE SQUARE; POLARITY INVERTED
:FG:CH1:AMPLITUDE 3.5; *SRE; OFFSET 1.5;
POLARITY INVERTED; SHAPE SQUARE
The following examples have been shortened incorrectly and cause errors.
:FG:CH1:AMPLITUDE 5.0; FG:CH2:AMPLITUDE 5.0
:FG:CH1:SHAPE SQU; CH2:SHAPE SQUARE
:FG:CH1:AMPLITUDE 5.0; STATE ON
The query causes the VX4792 Arbitrary Waveform Generator to return informa-
tion about its status or settings. A few queries also initiate an operation action
before returning information; for instance, the *
If the programmer has enabled headers to be returned with query responses, the
waveform generator formats a query response like the equivalent set-command
header followed by its argument(s). When headers are turned off for query
responses, only the values are returned. Table 3–3 shows the difference in query
responses.

Table 3-3: Header in Query Responses

Query
AMPLITUDE?
DIAG:SELECT?
Use the command HEADER ON (see page 3–42) when you want the header
returned along with the information. You can save such a response and send it
back as a set-command later. Use HEADER OFF when you want only the
information back.
CAL?
Header On
AMPLITUDE 5.000 V
:DIAG:SELECT WMEMORY
Command Syntax
query runs a calibration.
Header Off
5.000 V
WMEMORY
3-9

Advertisement

Table of Contents
loading

Table of Contents