Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 2: General operation
2651A-901-01 Rev. A / March 2011
2-39
Contact check programming example
The following programming example illustrates the setup and command sequence for a typical
contact measurement. These commands set the contact check speed to fast and the threshold to
10
Ω
. Then, a contact check measurement against the threshold is made. If it fails, a more accurate
contact check measurement is made, and the test is aborted. Otherwise, the output is turned on, and
the test continues.
-- Restore defaults.
smua.reset()
-- Set speed to fast.
smua.contact.speed = smua.CONTACT_FAST
-- Set threshold to 10 ohms.
smua.contact.threshold = 10
-- Check contacts against threshold.
if not smua.contact.check() then
-- Set speed to slow.
smua.contact.speed = smua.CONTACT_SLOW
-- Get resistance readings.
rhi, rlo = smua.contact.r()
-- Return contact resistances to the host.
print(rhi,
rlo)
-- Terminate execution.
exit()
end
-- Turn output on and continue.
smua.source.output = smua.OUTPUT_ON
User setup
The Model 2651A can be restored to one of six nonvolatile memory setup configurations (five user
setups and one factory default), or to a setup stored on an external USB flash drive. As shipped from
the factory, the Model 2651A powers-up to the original default settings. The default settings are also
contained in the five user setup locations but may be overwritten. The original default settings are
listed in the Instrument Command Library found in
will always start-up loading the power-on setup.
Saving user setups
You can save the present Model 2651A setup to internal nonvolatile memory or a USB flash drive.
To save a user setup to nonvolatile memory:
1. Configure the Model 2651A for the desired operating modes to be saved.
2. Press
the
MENU
key, select
SETUP
, and then press the
ENTER
key.
3. Select
the
SAVE
menu item, and then press the
ENTER
key.
4. Select
INTERNAL
, then press the
ENTER
key.
5. Select the user number (1 through 5), and press the
ENTER
key.