Agilent Technologies 66319b Video Games User Manual


 
71
7
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, current, and resistance
$ internal and external triggers
$ measurement functions
$ the 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 66319B/66319D units.
Output Voltage
The output voltage is controlled with the VOLTage command. To set the output voltage to 5 volts, use:
VOLT 5 or
VOLT2 5 for models that have a second output