Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-140
2606B-901-01 Rev. B / May 2018
localnode.linefreq
This attribute contains the power line frequency setting that is used for NPLC calculations.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
Nonvolatile memory
60 (60 Hz)
Usage
frequency
= localnode.linefreq
localnode.linefreq =
frequency
frequency
An integer representing the detected or specified line frequency of the instrument
Details
To achieve optimum noise rejection when performing measurements at integer NPLC apertures, set
the line frequency attribute to match the frequency (50 Hz or 60 Hz) of the AC power line.
When using this command from a remote node,
localnode
should be replaced with the node
reference, for example
node[5].linefreq
. When this attribute is set, the
localnode.autolinefreq
attribute is automatically set to
false
. You can have the instrument
automatically detect the AC power line frequency and set this attribute with the line frequency
detected when the instrument power is turned on by setting the
localnode.autolinefreq
attribute to
true
.
Example 1
frequency = localnode.linefreq
Reads line frequency setting.
Example 2
localnode.linefreq = 60
Sets the line frequency to 60 Hz.
Also see
(on page 7-138)
localnode.model
This attribute stores the model number.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
model
= localnode.model
model
The model number of the instrument
Example
print(localnode.model)
Outputs the model number of the local node. For example:
2606B
Also see
(on page 7-145)