User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-215
localnode.setglobal()
Remarks
This function will assign the given value to a global variable. This function is provided
to assign values to variables from a remote master node. This function should not be
used to assign values to global variables on the local node when using the local node
as the master, assigning the value directly is far more efficient.
NOTE This command is provided for the sole purpose of accessing variables on
this NOTE from a remote master node. The localnode prefix to the
command is an artifact of command organization and how remote
commands are shared between nodes.
localnode.settime()
Function
Set the current time of the system.
Usage
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
Remarks
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.
Example
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))
localnode.setup.poweron
Attribute
The saved setup to recall when the unit is turned on.
Usage
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).