Agilent Technologies 6814B Programming Examples, Programming the Output, Power-onInitialization

Models: 6811B 6813B 6834B 6843A 6814B

1 187
Download 187 pages 38.86 Kb
Page 121
Image 121
Programming Examples

4

Programming Examples

Introduction

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

υoutput functions such as voltage, frequency, and phase

υthe transient waveform generator

υinternal and external triggers

υmeasurement functions

υuser-defined waveforms

υthe status and protection functions

NOTE: These examples in this chapter are generic SCPI commands. See Chapter 2 for

information about encoding the commands as language strings.

Where appropriate, optional commands are shown for clarity in the examples.

Programming the Output

Power-on Initialization

When the ac 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

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 3 to see how each programmable parameter is set by *RST. Refer to the *PSC command in Chapter 3 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:

OUTPut ON

121

Page 121
Image 121
Agilent Technologies 6814B manual Programming Examples, Programming the Output, Power-onInitialization, Enabling the Output