75
7
Programming the DC Source
Introduction
This chapter contains examples on how to program your dc source. Simple examples show you how to
program:
uoutput functions such as voltage and current
uinternal and external triggers
umeasurement functions
uthe status and protection functions
NOTE: The examples in this chapter show which commands are used to perform a particular
function, but do not show the commands being used in any particular programming
environment. Refer to Appendix D for some examples of SCPI commands in a specific
programming environment.

Programming the Output

Power-on Initialization

When the dc source is first turned on, it wakes up with the output state set OFF. In this state the output
voltage is set to 0. The following commands are given implicitly at power-on:
*RST
*CLS
STAT:PRES
*SRE 0
*ESE 0
*RST is a convenient way to program all parameters to a known state. Refer to the *RST command in
chapter 8 to see how each programmable parameter is set by *RST. Refer to the *PSC command in
chapter 8 for more information on the power-on initialization of the *ESE and the *SRE registers.

Enabling the Output

To enable the output, use the command:
OUTP ON
Note that this command enables both outputs on Agilent 66309B/66309D units.