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 APPLyn 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 APPLyn 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 SOURcen subsystem contains two types of commands to set current or voltage output. The type used in the above examples has the form:

SOURcen:CURRent[:LEVel][:IMMediate][:AMPLitude] <value>

SOURcen: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 SOURcen subsystem also contains commands of the form:

SOURcen:CURRent[:LEVel]:TRIGgered[:AMPLitude] <value>

SOURcen: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

Page 50
Image 50
HP E1418A manual SOURce Output