Setup.poweron - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual
Details
The time zone is only used when converting between local time and UTC time when using the os.time() and
os.date() functions.
If only one parameter is given, the same time offset is used throughout the year. If four parameters are given,
time is adjusted twice during the year for daylight savings time.
offset and dstOffset are strings of the form "[+|-]hh[:mm[:ss]]" that indicate how much time must be
added to the local time to get UTC time: hh is a number between 0 and 23 that represents hours; mm is a number
between 0 and 59 that represents minutes; ss is a number between 0 and 59 that represents seconds. The
minutes and seconds fields are optional.
The UTC-5 time zone would be specified with the string "5" because UTC-5 is 5 hours behind UTC and one
must add 5 hours to the local time to get UTC time. The time zone UTC4 would be specified as "-4" because
UTC4 is 4 hours ahead of UTC and 4 hours must be subtracted from the local time to get UTC.
dstStart and dstEnd are strings of the form "MM.w.dw/hh[:mm[:ss]]" that indicate when daylight savings
time begins and ends respectively: MM is a number between 1 and 12 that represents the month; w is a number
between 1 and 5 that represents the week within the month; dw is a number between 0 and 6 that represents the
day of the week (where 0 is Sunday). The rest of the fields represent the time of day that the change takes effect:
hh represents hours; mm represents minutes; ss represents seconds. The minutes and seconds fields are
optional. The week of the month and day of the week fields are not specific dates.
Example
settimezone("8", "1", "3.3.0/02", "11.2.0/02")
settimezone(offset)
Also see
gettimezone()
settime()
(on page 7-167)

setup.poweron

This attribute specifies which saved setup to recall when the unit is turned on.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
n = setup.poweron
setup.poweron = n
n
Details
When n = 0, the instrument uses the factory default setup when turned on; when n = 1 to 5, it uses a user-saved
setup.
2651A-901-01 Rev. A / March 2011
(on page 7-92)
Affected by
Not applicable
An integer representing the specified setup to recall when system power is
turned on (0 to 5)
Sets offset to equal +8 hours, +1
hour for DST, starts on Mar 14 at 2:00
a.m, ends on Nov 7 at 2:00 a.m.
Sets local time zone to offset.
Where saved
Default value
Nonvolatile memory
0
Section 7: Command reference
7-169

Advertisement

Table of Contents
loading

Table of Contents