Quick Results Guide 17
Programming examples
Source-measure example — Table 8 shows a typical command sequence to source 10V 
and measure current on the 10mA range.
Measure-only example — Table 9 shows a typical command sequence to measure current 
only.
Table 8
Command sequence for source-measure example
Command* Comments
*RST Restore GPIB defaults (one-shot source-measure mode).
:SOUR:FUNC  VOLT Select voltage source function.
:SOUR:VOLT:MODE  FIX Select fixed voltage source mode.
:SOUR:VOLT:RANG  20 Select 20V source range.
:SOUR:VOLT:LEV  10 Set source output level to 10V.
:SENS:FUNC  “CURR” Select current measurement function.
:SENS:CURR:PROT  10e-3 Set compliance limit to 10mA. 
:SENS:CURR:RANG  10e-3 Select the 10mA measurement range.
:OUTP  ON Turn the output on. 
:READ? Trigger and acquire one data string. 
*SourceMeter must be addressed to talk after sending :READ? to trigger and acquire data. 
Table 9
Command sequence for measure current only example
Command* Comments
*RST Restore GPIB defaults (one-shot measure mode). 
:SOUR:FUNC  VOLT Select voltage source function.
:SOUR:VOLT:MODE  FIX Select fixed voltage source mode.
:SOUR:VOLT:RANG  0.2 Select 200mV source range.
:SOUR:VOLT:LEV  0 Set source output level to 0.000mV.
:SENS:FUNC  “CURR” Select current measurement function.
:SENS:CURR:PROT  100e-3 Set compliance limit to 100mA. 
:SENS:CURR:RANG  10e-3 Select the 10mA measurement range.
:OUTP  ON Turn the output on. 
:READ? Trigger and acquire one data string. 
*SourceMeter must be addressed to talk after sending :READ? to trigger and acquire data.