3
Programming the DC Source
Introduction
This chapter contains examples on how to program your dc source. Simple examples show you how to program:
υoutput functions such as voltage and current
υinternal and external triggers
υmeasurement functions
υthe status and protection functions
NOTE: These 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
*RST
*CLS
STATus:PRESet *SRE 0
*ESE 0
*RST is a convenient way to program all parameters to a known state. Refer to the *RST command in chapter 4 to see how each programmable parameter is set by *RST. Refer to the *PSC command in chapter 4 for more information on the
Enabling the Output
To enable the output, use the command:
OUTPut ON
19