![background image](http://html1.mh-extra.com/html/racal-instruments/3152b/3152b_user-manual_3131191178.webp)
Publication No. 980935 Rev. A
3152B User Manual
EADS North America Test and Services
Programming Reference 5-3
Parameters
FREQuency
{<frequency>|MINimum|MAXimum}
Instead of selecting a specific frequency, substitute MIN to set the
frequency to its minimum value or MAX to set the frequency to its
maximum value.
Querying
Parameter Setting
Query the current value of most parameters by adding a question
mark ( ? ) to the command. For example, the following command sets
the output function to square:
SOUR:FUNC:SHAP
SQR
Query the output function by executing:
SOUR:FUNC:SHAP?
Query Response
Format
The response to a query depends on the format of the command. In
general, a response to a query contains current values or settings of
the generator. Commands that set values can be queried for their
current value. Commands that set modes of operation can be queried
for their current mode. IEEE-STD-488.2 common queries generate
responses, which are common to all IEEE-STD-488.2 compatible
instruments.
SCPI Command
Terminator
A command string sent to the function generator must terminate with
a <new line> character. The IEEE-STD-488 EOI message is a <new
line> character. Command string termination always resets the
current SCPI command path to the root level.
IEEE-STD-488.2
Common
Commands
The IEEE-STD-488.2 standard defines a set of common commands
that perform functions like reset, trigger and status operations.
Common commands begin with an asterisk ( * ), are four to five
characters in length, and may include one or more parameters. The
command keyword is separated from the first parameter by a blank
space. Use a semicolon ( ; ) to separate multiple commands as shown
below:
*RST; *STB?; *IDN?
SCPI Parameter
Type
The SCPI language defines four different data formats to be used in
program messages and response messages: numeric, discrete,
Boolean, and arbitrary block.
Numeric Parameters
Commands that require numeric parameters will accept all commonly
used decimal representations of numbers including optional signs,
decimal points, and scientific notation. Special values for numeric
parameters like MINimum and MAXimum are also accepted.
Engineering unit suffixes with numeric parameters (e.g., MHz or kHz)
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com