
Chapter 6 Application Programs
Using the Low-Level Commands
129
6
Using the Low-Level Commands
This program demonstrates the following concepts:
• How to use the low-level commands to program three outputs.
• How to specify a trigger source and trigger the power supply over the
GPIB interface.
Agilent BASIC / GPIB (Program 2)
10 !
20 ! This program uses low-level SCPI commands to program the
30 ! power supply to output a 3 volts/0.5 amps for +6V output,
40 ! 20 volts/0.9 amps for +25V output, and 10 volts/0.5 amps for
50 ! -25V output. This program also shows the use of a trigger
60 ! received over the GPIB interface to initiate a single trigger.
70 !
80 ASSIGN @Psup TO 705 ! Assign I/O path to address 705
80 CLEAR 7 ! Clear the GPIB interface
90 OUTPUT @Psup;"*RST" ! Reset the power supply
100 !
110 OUTPUT @Psup;"INST:COUP:TRIG ALL" ! Couple three outputs
120 OUTPUT @Psup;"TRIG:SOUR BUS" ! Trigger source is "bus"
130 OUTPUT @Psup;"TRIG:DEL 30" ! Time delay 30 seconds"
140 !
150 OUTPUT @Psup;"INST:SEL P6V" ! 6V output
160 OUTPUT @Psup;"VOLT:TRIG 3" ! Set the pending voltage to 3 volts
170 OUTPUT @Psup;"CURR:TRIG 0.5" ! Set the pending current to 0.5 amps
180 !
190 OUTPUT @Psup;"INST:SEL P25V" ! 25V output
200 OUTPUT @Psup;"VOLT:TRIG 20" ! Set the pending voltage to 20 volts
210 OUTPUT @Psup;"CURR:TRIG 0.9" ! Set the pending current to 0.9 amps
220 !
230 OUTPUT @Psup;"INST:SEL N25V" ! Select -25V output
240 OUTPUT @Psup;"VOLT:TRIG -10" ! Set the pending voltage to -10 volts
250 OUTPUT @Psup;"CURR:TRIG 0.5" ! Set the pending current to 0.5 amps
260 !
270 OUTPUT @Psup;"OUTP ON" ! Enable the outputs
280 !
290 OUTPUT @Psup;"INIT" ! Initiate the trigger subsystem
300
310 ! Trigger the power supply over the GPIB interface
320 !
330 OUTPUT @Psup;"*TRG" ! Set output changes after time delay
340 !
350 OUTPUT @Psup;"INST:COUP:TRIG NONE" ! Uncouple three outputs!
360 !
370 END
Содержание E3631-90002
Страница 9: ...8...
Страница 14: ...1 1 General Information...
Страница 25: ...24...
Страница 26: ...2 2 Initial Operation...
Страница 34: ...3 3 Front Panel Operation...
Страница 64: ...4 4 Remote Interface Reference...
Страница 113: ...112...
Страница 114: ...5 5 Error Messages...
Страница 124: ...6 6 Application Programs...
Страница 137: ...136...
Страница 138: ...7 7 Tutorial...
Страница 153: ...152...
Страница 154: ...8 8 Specifications...
Страница 160: ...Chapter 8 Specifications Supplemental Characteristics 159 8 Figure 8 1 Dimensions of Agilent E3631A Power Supply...
Страница 161: ...160...