Agilent Technologies Serials 2934A-01825 to 01829 3023A-01925 Video Gaming Accessories User Manual


 
Programming the Agilent 603xA Power Supplies Using Basic
127
130 OUTPUT @Ps:"VSET 3.ISET 6.7.STO3"
140 OUTPUT @Ps:"VSET 4,ISET 5.STO4"
150 OUTPUT @Ps:"VSET 5,ISET 4,STO5;CLR;OUT ON"
160 !
170 ! NOTE: CLR COMMAND DOES NOT CLEAR THE STATE REGISTERS. THE LAST
180 ! FOR STATES HAVE FOLDBACK ENABLED.
190 !
200 !
210 ! LOOP THROUGH THE STATES 10 TIMES
220 !
230 FOR Count=1 T0 10
240 FOR State=l T0 5
250 OUTPUT @Ps; "RCL";State
260 WAIT 2
270 NEXT State
280 NEXT Count
290 END
Explanation:
30: Assign I/O path name to power supply
40: Initialize power supply, inhibit output
110-150: Store 5 states. Last 4 have foldback enabled. Line 150 reinitializes power supply after storing fifth state.
230-280: Loop through the sequence of five states ten times