5

Programming the DC Source

Introduction

This chapter contains examples on how to program your dc source. Simple examples show you how to program:

Koutput voltage and current functions

Kinternal and external triggers

Kmeasurement functions

Kthe 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.

Programming the Output

Power-on Initialization

When the dc source is first turned on, it wakes up with the output state set to OFF. In this state the output voltage is set to 0. The following commands are given implicitly at power-on:

*RST

*SRE

0

STAT:PRES

*CLS

*ESE

0

 

*RST is a convenient way to program all parameters to a known state. Refer to the Common Commands section in chapter 6 for a complete description of the above commands.

Enabling the Output

To enable all four outputs, use the command:

OUTP ON,(@1:4)

or OUTP ON,(@1,2,3,4)

To enable only outputs 1 and 3 use the command.

OUTP ON,(@1,3)

Output Voltage

The output voltage is controlled with the VOLTage command. To set all four outputs to 5 volts, use:

VOLT 5,(@1:4)

The maximum output voltage that can be programmed can be queried with:

VOLT? MAX,(@<channel list>)

39

Page 39
Image 39
Agilent Technologies N3280A manual Introduction, Programming the Output, Power-on Initialization, Enabling the Output