Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 2: General operation
2651A-901-01 Rev. A / March 2011
2-41
Saving user setups from a command interface
Saving and recalling user setups
Use the
setup.save()
and
setup.recall()
functions to save and recall user setups. The
following programming example illustrates how to save the present setup as setup 1, and then recall
setup 1:
-- Save present setup to nonvolatile memory.
setup.save(1)
-- Recall saved user setup from nonvolatile memory.
setup.recall(1)
Restoring the factory default setups
Use one of the reset functions to return the Model 2651A to the original factory defaults:
-- Restore all factory defaults of all nodes on the TSP-Link network.
reset()
-- Restore all factory defaults (note that
-- you cannot use "*rst" in a script).
*rst
-- Restore all factory defaults.
setup.recall(0)
-- Restore channel A defaults.
smua.reset()
-- Reset just the local node.
localnode.reset()
Start-up (power-on) configuration
You can specify the Model 2651A start-up (power-on) configuration. Use the
setup.poweron
attribute to select which setup to return to upon power-up. To set the
poweron
attribute:
setup.poweron =
n
-- Select power-on setup.
Where:
n
=
0
(
*RST
/
reset()
factory defaults)
n
=
1
to
5
(user setups 1-5)