130OUTPUT @Ps:"VSET 3.ISET 6.7.STO3"

140OUTPUT @Ps:"VSET 4,ISET 5.STO4"

150OUTPUT @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!

230FOR Count=1 T0 10

240

FOR State=l T0 5

250

OUTPUT @Ps; "RCL";State

260WAIT 2

270NEXT State

280NEXT Count

290END

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

Programming the Agilent 603xA Power Supplies Using Basic 127

Page 127
Image 127
Agilent Technologies 6032A, 6035A, 6028A, 6033A, 603xA, 6023A, 6038A 6010A, 6031A manual 210 ! Loop Through the States 10 Times