Concatenating Commands - Sony Tektronix VX4792 User Manual

Arbitrary waveform generator
Table of Contents

Advertisement

Command Syntax

Concatenating Commands

CH1
AMPLITUDE
OFFSET
POLARITY
3-8
Common Query Header. A command that precedes its header mnemonic with an
asterisk (*) and follows it with a question mark (?). Its message format is:
<Header Mnemonic>? [<Argument>[,<Argument>]...]
such as:
*IDN?
The common commands are defined by IEEE Std 488.2 and are common to all
devices which support the IEEE Std 488.2 on the GPIB bus.
Most of the compound command headers are in a tree structure. The tree
structure of an example command is diagrammed below. Note that the top of the
structure always begins with a colon (:).
NOTE. The following command is NOT in the VX4792 Arbitrary Waveform
Generator command set. It is included only as an example of command
concatenation.
:FG:
SHAPE...
AMPLITUDE
The following example of a compound command combines four headers
delimited by semicolons:
:FG:CH1:AMPLITUDE 3.5; :FG:CH1:OFFSET 1.5;
:FG:CH1:POLARITY INVERTED; :FG:CH1:SHAPE SQUARE
You must include the complete path in each header when there is no common
complete path to the start of the tree structure (the :). However, note that part of
each header in the above example has a common path :FG:CH1. You may shorten
compound command structures with such headers. For example, the command
above may be rewritten as follows.
:FG:CH1:AMPLITUDE 3.5; OFFSET 1.5; POLARITY INVERT; SHAPE
SQUARE
CH2
OFFSET
POLARITY
SHAPE...
FREQ
STATE...
VX4792 User Manual

Advertisement

Table of Contents
loading

Table of Contents