Basic Power Supply Operation 2-15
Programming examples
Outputting and reading back V and I
The following command sequence demonstrates how to output voltage and current, and read
back (measure) the actual voltage and current:
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.
SENS:FUNC ‘CURR’
‘ Select current measurement function.
READ?
‘ Trigger 5 current measurement conversions and
return the average of those 5 conversions.
DVM measurements
The following command sequence demonstrates how to measure voltage applied to the DVM
input of the power supply:
SENS:FUNC ‘DVM’
‘ Select the DVM Input function.
SENS:NPLC 5
‘ Set integration rate to 5 PLC.
SENS:AVER 10
‘ Set average reading count to 10.
READ:ARR?
‘ Trigger and return 10 readings.
Summary of Contents for 2303
Page 28: ...1 14 Getting Started...
Page 44: ...2 16 Basic Power Supply Operation...
Page 64: ...4 10 Long Integration Measurements...
Page 70: ...5 6 Relay Control...
Page 102: ...7 20 Status Structure...
Page 103: ...8 CommonCommands...
Page 108: ...8 6 Common Commands...
Page 109: ...9 Signal Oriented Measurement Commands...
Page 121: ...11 SCPITables...
Page 129: ...A Specifications...
Page 132: ...A 4 Specifications...
Page 133: ...B ErrorandStatusMessages...
Page 137: ...C EmulationCommands...
Page 143: ...D Models2303and2303B GPIB488 1Protocol...
Page 151: ......