RP Series
March 2011
69
15. Programming Examples
15.1. Introduction
This chapter contains examples on how to program the AC source. Simple examples show
you how to program:
·
output functions such as voltage and frequency
·
measurement functions
The examples in this chapter use generic SCPI commands. See Section 12 for information
about encoding the commands as language strings. Where appropriate, optional commands
are shown for clarity in the examples.
15.2. Programming the Output
Power-on Initialization
When the AC source is first turned on, it wakes up with the output state defined by the PON
register number. If the register number or the register has no valid data, the AC source
initializes to the following state.
VOLT 0
FREQ 60
OUTP 0
VOLT:RANG 136
The following commands are given implicitly at power-on:
*RST
*CLS
*SRE 128
*ESE 0
*RST is a convenient way to program all parameters to a known state. Refer to Table 13
under the *RST command in paragraph 14.4.6 to see how each programmable parameter is
set by *RST.
Enabling the Output
To enable the output, use the command:
OUTPut 1
Voltage and Frequency
The AC rms output voltage is controlled with the VOLTage command. For example, to set
the AC output voltage to 125 volts rms, use:
VOLTage 125
The maximum voltage that the AC source can output is limited by the rms value of the
waveform. This value is defined by the LIMIT subsystem.
Voltage Ranges
Summary of Contents for 1251RP Series
Page 2: ......
Page 3: ......
Page 4: ......
Page 6: ...ii This page intentionally left blank ...
Page 12: ......
Page 40: ...March 2011 RP Series 28 Figure 6 3 Location of Internal Adjustments ...