3152B User Manual
Publication No. 980935 Rev. A
5-4 Programming Reference
EADS North America Test and Services
can also be sent. If only specific numeric values are accepted, the
function generator will ignore values, which are not allowed and will
generate an error message. The following command is an example of
a command that uses a numeric parameter:
VOLT:AMPL
<amplitude>
Discrete Parameters
Discrete parameters are used to program settings that have a limited
number of values (i.e., FIXed, USER and SEQuence). They have
short and long form command keywords. Upper and lowercase letters
can be mixed. Query responses always return the short form in all
uppercase letters. The following command uses discrete parameters:
SOUR:FUNC:MODE {FIXed | USER | SEQuence}
Boolean Parameters
Boolean parameters represent a single binary condition that is either
true or false. The generator accepts "OFF" or "0" for a false condition.
The generator accepts "ON" or "1" for a true condition. The instrument
always returns "0" or "1" when a boolean setting is queried. The
following command uses a boolean parameter:
OUTP:FILT { OFF | ON }
The same command can also be written as follows:
OUTP:FILT {0 | 1 }
Arbitrary Block
Parameters
Arbitrary block parameters are used for loading waveforms into the
generator's memory. Depending on which option is installed, the
3152B can accept binary blocks up to 1M bytes. The following
command uses an arbitrary block parameter that is loaded as binary
data:
TRAC:DATA#564000<binary_block>
Binary Block
Parameters
Binary block parameters are used for loading segment and sequence
tables into the generator's memory. Information on the binary block
parameters is given later in this manual.
SCPI Syntax and
Styles
Where possible the syntax and styles used in this section follow those
defined by the SCPI consortium. The commands on the following
pages are broken into three columns; the Keyword, the Parameter
Form, Default and HS command equivalent.
The Keyword column provides the name of the command. The actual
command consists of one or more keywords since SCPI commands
are based on a hierarchical structure, also known as the tree system.
Square brackets ( [ ] ) are used to enclose a keyword
that is optional
when programming the command; that is, the 3152B will process the
command to have the same effect whether the optional node is
omitted by the programmer or not. Letter case in tables is used to
differentiate between the accepted short form (upper case) and the
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com