Keithley 3700 series Reference Manual page 296

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Section 9: Instrument Control Library (ICL)
localnode.settime
Function
Usage
Remarks
Example
localnode.setup.poweron
Attribute
Usage
Remarks
9-152
Set the current time of the system.
settime(hour, minute, second)
or
localnode.settime(os.time(year = <year>, month = <month>, day =
<day>, hour = <hour>, min = <min>, sec = <sec>))
<year>: A full year that is 2006 or later
<month>: The desired month from 01 to 12
<day>: The desired day from 01 to 31
<hour>: The desired hour from 00 to 23
<minute>: The desired minute from 00 to 59
<second>: The desired second from 00 to 59
This function sets the date and time of the system based on the os.time response
passed in as its parameter. Use year, month, day, hour, min, and sec to set the time
as desired. The first 3 parameters to os.time are mandatory while the rest are
optional. If the later 3 are not used, they default to noon for that day. The setting of
the time and date does not take into account the time zone. Please update the time for
your time zone.
To set the date and time to Oct 3, 2006 at 2:25 pm:
settime(os.time(year = 2006, month = 10, day = 3,
hour =14, min = 25, sec = 0))
The saved setup to recall when the unit is turned on.
To read power on state:
n = localnode.setup.poweron
n: Returned power on state.
To write power on state:
localnode.setup.poweron = n
n: Setup number to recall on power up (0 or 1).
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.
Series 3700 System Switch/Multimeter Reference Manual
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents