User manual
Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-211
localnode.execute()
Remarks
This function will execute the given TSL code.
NOTE This command cannot actually be used on the local node. It is provided for
the sole purpose of executing scripts on this node 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.getglobal()
Function
Get a the value of a global variable.
Usage
value = localnode.getglobal(name)
name: The global variable name.
value: The value of the variable.
Remarks
This function will return the value of the given global variable. This function is provided
to allow code running on a remote master node to retrieve values of variables from
that node. This function should not be used to retrieve the value of a global variable on
the local node when using the local node as the master. Accessing the variable
directly is far more efficient.
NOTE This command is provided for the sole purpose of accessing variables on
this node 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.linefreq
Attribute
Use to read power line frequency detected at power up.
Usage
To read line frequency:
frequency = localnode.linefreq
Remarks
To achieve optimum noise rejection when performing measurements at integer
NPLC apertures, the line frequency setting must match the frequency (50Hz or
60Hz) of the AC power line.
When used in an expanded system (TSP-Link
TM
), localnode.linefreq is sent to the
Remote Master node only. Use node[N].linefreq (where N is the node
number) to send the command to any node in the system.
Example
To get the line frequency:
print(localnode.linefreq)
localnode.model
Attribute
Use to query model number.
Usage
value = localnode.model
value: Represents model number.