
Chapter 6 Application Programs
Using the Low-Level Commands
131
6
. . . continued
Info1$ = "INST:SEL P6V"
' 6V output
Length1% = LEN(Info1$)
CALL IOOUTPUTS(Dev&, Info1$, Length1%)
IF PCIB.ERR <> NOERR THEN ERROR PCIB.BASERR
Info1$ = "VOLT:TRIG 3"
' Set the pending voltage to 3 volts
Length1% = LEN(Info1$)
CALL IOOUTPUTS(Dev&, Info1$, Length1%)
IF PCIB.ERR <> NOERR THEN ERROR PCIB.BASERR
Info1$ = "CURR:TRIG 0.5"
' Set the pending current to 0.5 amps
Length1% = LEN(Info1$)
CALL IOOUTPUTS(Dev&, Info1$, Length1%)
IF PCIB.ERR <> NOERR THEN ERROR PCIB.BASERR
Info1$ = "INST:SEL P25V"
' 25V output
Length1% = LEN(Info1$)
CALL IOOUTPUTS(Dev&, Info1$, Length1%)
IF PCIB.ERR <> NOERR THEN ERROR PCIB.BASERR
Info1$ = "VOLT:TRIG 20"
' Set the pending voltage to 20 volts
Length1% = LEN(Info1$)
CALL IOOUTPUTS(Dev&, Info1$, Length1%)
IF PCIB.ERR <> NOERR THEN ERROR PCIB.BASERR
Info1$ = "CURR:TRIG 0.9"
' Set the pending current to 0.9 amps
Length1% = LEN(Info1$)
CALL IOOUTPUTS(Dev&, Info1$, Length1%)
IF PCIB.ERR <> NOERR THEN ERROR PCIB.BASERR
Info1$ = "INST:SEL N25V"
' Select -25V output
Length1% = LEN(Info1$)
CALL IOOUTPUTS(Dev&, Info1$, Length1%)
IF PCIB.ERR <> NOERR THEN ERROR PCIB.BASERR
Info1$ = "VOLT:TRIG -10"
' Set the pending voltage to -10 volts
Length1% = LEN(Info1$)
CALL IOOUTPUTS(Dev&, Info1$, Length1%)
IF PCIB.ERR <> NOERR THEN ERROR PCIB.BASERR
Info1$ = "CURR:TRIG 0.5"
' Set the pending current to 0.5 amps
Length1% = LEN(Info1$)
CALL IOOUTPUTS(Dev&, Info1$, Length1%)
IF PCIB.ERR <> NOERR THEN ERROR PCIB.BASERR
Info1$ = "OUTP ON"
' Enable the outputs
Length1% = LEN(Info1$)
CALL IOOUTPUTS(Dev&, Info1$, Length1%)
IF PCIB.ERR <> NOERR THEN ERROR PCIB.BASERR
Содержание 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...