
Chapter 6 Application Programs
Using the APPLy Command
125
6
Using the APPLy Command
This program demonstrates the following concepts:
• How to use the
APPLy
command to set output voltages and currents for
three outputs.
• How to use the
*SAV
command to store the instrument configuration in
memory.
Agilent BASIC / GPIB (Program 1)
10 !
20 ! This program sets the output voltages and currents for
30 ! three outputs. This program also shows how to use "state
40 ! storage" to store the instrument configuration in memory.
50 !
60 ASSIGN @Psup TO 705 ! Assign I/O path to address 705
70 CLEAR 7 ! Clear interface - send "device clear"
80 OUTPUT @Psup;"*RST;*CLS" ! Reset and clear the power supply
90 OUTPUT @Psup;"*OPC"
! Verify reset command has executed
100 !
110 OUTPUT @Psup;"APPL P6V, 5.0, 1.0" ! Set 5.0 volts/1.0 amp to +6V output
120 OUTPUT @Psup;"APPL P25V, 15.0, 1.0" ! Set 15.0 volts/1.0 amp to +25V output
130 OUTPUT @Psup;"APPL N25V, -10.0, 0.8"! Set -10.0 volts/0.8 amps to -25V output
140 !
150 OUTPUT @Psup;"OUTP ON" ! Enable the outputs
160 !
170 OUTPUT @Psup;"*SAV 1" ! Store a state in memory location 1"
180 !
190 ! Use the "*RCL 1" command to recall the stored state
200 !
210 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...