16 Remote Programming
Controlling the Output
Important The power supply responds simultaneously to both digital and analog programming inputs. If it
is receiving an input over the GPIB and a corresponding input from the front panel (and/or from
the analog programming port), the power supply output will be the algebraic sum of the inputs.
Programming Voltage and Current
The following statements program both voltage and current and return the actual output from the sense terminals:
OUTP OFF Disable the output.
VOLT 4.5;CURR 255 Program the voltage and current.
VOLT?;CURR? Read back the programmed levels.
OUTP ON Enable the output.
MEAS:VOLT?;MEAS:CURR? Read back the outputs from the sense terminals.
Programming Protection Circuits
This example programs the voltage and current, programs an overvoltage protection value, and turns on the overcurrent
protection. It then reads back all the programmed values.
VOLT:LEV 4.5;PROT 4.75 Program the voltage and overvoltage protection.
CURR:LEV 255;PROT:STAT ON Program the current and overcurrent protection.
VOLT:LEV?;PROT?;:CURR:LEV?;PROT:STAT? Read back the programmed values.
Note the required use of the optional LEVel header in the above example (see "The Effect of Optional Headers", given
previously).
Changing Outputs by Trigger
If you do not program pending triggered levels, they default to the programmed (immediate) output levels. The following
statements shows some basic trigger commands.
OUTP OFF Disable the output.
VOLT:LEV:IMM 2.2;TRIG 2.5 Program the (immediate) voltage level to 2.2V and the pending
triggered level to 2.5 V.
CURR:LEV:IMM I5O;TRIG 250 Program the (immediate) current level to 150 A and the pending
triggered level to 250 A.
VOLT:LEV:IMM?;TRIG?;:CURR:LEV:IMM?;TRIG? Check all the programmed values.
OUTP ON Enable the output.
MEAS:VOLT?;CURR? Read back the immediate levels from the sense terminals.
INTIT;TRIG Arm the trigger circuit and send a single trigger.
INIT;*TRG Same as above, except using a common command.
MEAS:VOLT?;CURR? Read back the triggered levels from the sense terminals.
If you need to send two or more triggers, program the trigger circuit for continuous arming.
OUTP OFF Disable the output.
VOLT:LEV:IMM 5.O;TRIG 2.5 Program the (immediate) voltage level to 5 V and the pending
triggered level to 2.5 V.
INTIT:CONT ON Program the trigger circuit for continuous arming.
OUTP ON Enable the output to 5 V.
TRIG Trigger the output voltage to 2.5 V.
VOLT:TRIG 5;:TRIG Set the pending trigger level to 5 V and trigger the output voltage
back to 5 V.
INTIT:CONT OFF Remove the continuous trigger arming.