Basic Power Supply Operation 2-21
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.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com
Summary of Contents for 2302
Page 2: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 4: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 16: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 22: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 344: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 346: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 347: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...