User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-253
setup.cards()
Example
To query the cards of the internal saved setup:
CardModels = setup.cards()
print(CardModels)
Output: 3722,0,0,0,0,0
To query the cards associated with mysetup.set on thumb drive:
print(setup.card('/usb1/mysetup.set')) -->
0,3723,3722,3720,0,0
setup.poweron
Attribute
The setup to recall when the unit is turned on.
Usage
To read the power-on setup:
n = setup.poweron
To write the power-on setup:
setup.poweron = n
n: Setup number to recall on power up (0 or 1).
Remarks
Setting this attribute to 0 causes the unit to power up to the factory default (reset) setup.
A setting of 1 causes the unit to power up using a user setup that was previously saved
internally.
Example
Sets unit to power on to the factory default settings:
setup.poweron = 0
setup.recall()
Function
Recalls settings from a saved setup.
Usage
setup.recall(location)
location: Setup number to recall (0, 1, or "/usb1/<filename>").
0: Reset setup.
1: Internal setup.
<filename>: Use the name of the desired file contained on a USB flash drive.
Remarks
If a number is sent as the parameter:
The number is interpreted as a setup number and the setup is recalled from internal
memory. Setting this attribute to 0 recalls the factory default (reset) setup. Setting this
attribute to 1 recalls the user saved setup from internal memory.
If a string is sent as the parameter:
The string is interpreted as a path and filename and the setup is recalled from the
corresponding file on the USB flash drive. The path may be absolute or relative to the
current working directory.