Source output – HP E1418A User Manual

Page 51

Advertising
background image

SOURce Output

Setting an output on a channel is a three step process:

Set the channel mode (voltage or current)

Set the channel output value (volts or amps)

Enable the output (close the channel output relay)

As described previously, a single

APPLy

n command performs all three of

these actions. In some cases you may need more control of each step in the
output process. The following commands perform the same action as a
single

APPLy

n command.

/* Set channel 1 voltage mode */

SOURce1:FUNCtion:MODE VOLTage

/* Channel 1 is set to voltage output */

/* Set channel 1 voltage output */

SOURce1:VOLTage 5.000

/* Channel 1 is set to output 5.000 Volts */

/* Turn on the output */

OUTPut1 ON

/* Channel 1 output is enabled */

The

SOURce

n subsystem contains two types of commands to set current or

voltage output. The type used in the above examples has the form:

SOURce

n

:CURRent[:LEVel][:IMMediate][:AMPLitude] <

value

>

SOURce

n

:VOLTage[:LEVel][:IMMediate][:AMPLitude] <

value

>

The implied commands (enclosed in brackets [ ]) are not shown in the
examples. The commands shown above immediately program the output
values. The

SOURce

n subsystem also contains commands of the form:

SOURce

n

:CURRent[:LEVel]:TRIGgered[:AMPLitude] <

value

>

SOURce

n

:VOLTage[:LEVel]:TRIGgered[:AMPLitude] <

value

>

These commands are used with the trigger system to control when the
outputs are applied. The trigger system is described on page 54.

50 Programming Examples

Chapter 2

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Advertising