User manual

Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-252 3700S-901-01 Rev. C / July 2008
schedule.alarm[x].seconds
Example
Create an alarm to occur on March 15, 2008 at 10AM in UTC seconds:
local l_myTime
l_myTime = os.time{year = 2008, month = 3, day = 15, hour
= 10}
schedule.alarm[1].seconds = l_myTime
schedule.disable()
Function
Disable all alarms.
Usage
schedule.disable()
Example
schedule.disable()
setup functions and attributes
Use the functions and attribute in this group to save/recall setups and to set the
power-on setup.
setup.cards()
Function
Queries the card model number for each slot of a saved setup.
Usage
CardModels = setup.cards()-- for cards associated with internally saved
setup
CardModels = setup.cards('/usb1/<filename>.set') -- for cards
associated with the <filename> on thumb drive. Note: The .set extension needs to be
on the filename specified.
CardModels: A comma-delimited string listing card model for each slot.
Remarks
This function will return a comma-delimited string listing the card model for each slot in
the system (from 1 to 6) for the desired saved setup. If no card was installed in the slot
when the setup was saved, a 0 is returned as the card model number.
Details
To successfully recall a setup, the card models need to match or a card needs to be
installed in an empty slot of the setup configuration. Otherwise, an error will be
generated.
To recall a setup that was saved when the specified slot card is unavailable, assign a
pseudo card to that slot. For example, assume Slot 3 contained a Model 3720 when
saved. To recall that setup without an actual Model 3720 installed in the system,
assign a pseudo 3720 to Slot 3 with:
slot[3].pseudocard = slot.PSEUDO_3720
When recalling a setup, the slot needs to contain the necessary model, but it doesn't
matter if that model is present with a real card or pseudo card. The instrument does
not differentiate between the two when recalling a setup; they are treated the same. In
this example, both would be seen as the system having a Model 3720 in Slot 3.