Low-current measurement programming example
Example code for a typical low-current measurement is shown below. This code assumes that a
100 GΩ resistor is being tested.
-- Restore defaults.
smua.reset()
-- Set source to DC V.
smua.source.func = smua.OUTPUT_DCVOLTS
-- Select 200 V source range.
smua.source.rangev = 200
-- Output 100 VDC.
smua.source.levelv = 100
-- Select 1 nA range.
smua.measure.rangei = 1e-9
-- Set current limit to 2 nA.
smua.source.limiti = 2e-9
-- Turn on output.
smua.source.output = smua.OUTPUT_ON
-- Delay 1 second to allow for source and measure settling.
smua.source.delay = 1
-- Returns current reading.
print(smua.measure.i())
-- Returns resistance reading.
print(smua.measure.r())
-- Turn off output.
smua.source.output = smua.OUTPUT_OFF
How can I change the line frequency or voltage?
The 2600B requires a line voltage of 100 V ac to 240 V ac (±10%) and a line frequency of 50 Hz or
60 Hz. The factory configures the 2600B to automatically detect and operate at the appropriate power
line frequency each time the instrument power is turned on. In noisy environments, it may be
necessary to manually configure the instrument to match the actual line frequency. For more
information, see Line frequency configuration.
To configure the line frequency from the front panel:
1. Press the MENU key, then turn the navigation wheel to select LINE-FREQ, and then press the
ENTER key.
2. Turn the navigation wheel to select the appropriate frequency and then press the ENTER key. To
configure the instrument to automatically detect line frequency at each power-up, select AUTO.
3. Press the EXIT (LOCAL) key to return to the main display.