User manual
Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-36 3700S-901-01 Rev. C / July 2008
channel.calibration.verifydate()
Example
To query the number of seconds since January 1, 1970:
CalDate = channel.calibration.verifydate()
To set the calibration verification date on Slot 1 based on the current date of the
system:
channel.calibration.verifydate(os.time())
To set the calibration verification date on Slot 1 as July 4, 2006:
channel.calibration.verifydate(os.time(year=2006, month=7,
day = 4))
See Lua documentation for formatting options with os.date() and additional
information on os.time().
NOTE: Example assumes the set date is July 4, 2006.
To query calibration verification date and format the response as mm/dd/yyyy:
TSP> print(os.date("%m/%d/%Y",
channel.calibration.verifydate("slot1")))
07/04/2006
channel.clearforbidden()
Function
Clears the list of channels specified from being forbidden to close.
Usage
channel.clearforbidden(<ch_list>)
ch_list: A string listing the items to no longer be forbidden to close.
Remarks
The ch_list parameter indicates the scope of channels affected and may include:
allslots or slotX (where X equals 1 to 6).
Channel ranges or individual channels.
Analog backplane relays.
This function allows all items contained in the channel list parameter to be closed
(removes the "forbidden to close" attribute that can be applied to a channel using
channel.setforbidden() (on page 13-73)).
An error will be generated if:
The specified channel or analog backplane relay does not exist for card installed in
a slot.
The specified channel or analog backplane relay is for an empty slot.
There is a parameter syntax error in the channel specified.
Command processing will stop as soon as an error is detected. If an error is found, the
channels are not cleared from being forbidden to close. With no errors, the channels in
the channel list parameter are cleared from being forbidden to close.
Also see
channel.getforbidden() (on page 13-50)
channel.setforbidden() (on page 13-73)