2308-900-01 Rev. A / July 2008
Return to
Section Topics
2-21
Model 2308 Portable Device Battery/Charger Simulator User’s Manual
Section 2: Basic Power Supply Operation
Programming examples
Outputting and reading back V and I
The following command sequences demonstrate how to output voltage and current, and read back
(measure) the actual voltage and current:
Battery channel (#1)
DISP:CHAN 1
‘ Select battery channel as active one.
VOLT 5
‘ Set output voltage to 5V.
SENS:CURR:RANG:AUTO ON
‘ Enable auto range for current.
CURR 750e-3
‘ Set current limit to 750mA.
CURR:TYPE TRIP
‘ Select trip mode for current limit.
SENS:FUNC ‘VOLT’
‘ Select the voltage measurement function.
SENS:NPLC 2
‘ Set integration rate to 2 PLC.
SENS:AVER 5
‘ Set average reading count to 5.
OUTP ON
‘ Turn on the power supply output.
READ?
‘ Trigger 5 voltage measurement conversions
and return the average of those
5
conversions.
The average reading is displayed on the front panel.
SENS:FUNC ‘CURR’
‘ Select current measurement function.
READ?
‘ Trigger 5 current measurement conversions and
return the average of those 5 conversions.
The average of the 5 readings is displayed on
the front panel.
Charger channel (#2)
DISP:CHAN 2
‘ Select charger channel as active one.
SOUR2:VOLT 5
‘ Set output voltage to 5V.
SENS2:CURR:RANG:AUTO ON
‘ Enable auto range for current.
SOUR2:CURR 750e-3
‘ Set current limit to 750mA.
SOUR2:CURR:TYPE LIM
‘ Select LIM mode for current limit.
SENS2:FUNC ‘VOLT’
‘ Select the voltage measurement function.
SENS2:NPLC 4
‘ Set integration rate to 4 PLC.
SENS2:AVER 4
‘ Set average reading count to 4.
OUTP2 ON
‘ Turn on the power supply output.
READ2?
‘ Trigger 4 voltage measurement conversions
and return the average of those
4
conversions.
SENS2:FUNC ‘CURR’
‘ Select current measurement function.
READ2:ARR?
‘ Trigger 4 current measurement conversions and
‘ return all 4 conversions. The average of the
‘ 4 readings is displayed on the front panel.
DVM measurements
The following command sequence demonstrates how to measure voltage applied to the DVM
input of the power supply:
Charger channel (#2)
DISP:CHAN 2
‘ Set active channel - charger.
SENS2:FUNC ‘DVM’
‘ Select the DVM Input function.
SENS2:NPLC 3
‘ Set integration rate to 3 PLC.
SENS2:AVER 8
‘ Set average reading count to 8.
READ2:ARR?
‘ Trigger and return 8 readings. The average
‘ of the 8 readings is displayed on the front
‘ panel.
Summary of Contents for 2308
Page 2: ......
Page 12: ...This page left blank intentionally...
Page 32: ...This page left blank intentionally...
Page 106: ...This page left blank intentionally...
Page 140: ...This page left blank intentionally...
Page 208: ...This page left blank intentionally...
Page 220: ...This page left blank intentionally...