System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. B / May 2013 7-139
localnode.linefreq
This attribute contains the power line frequency setting used for NPLC calculations.
Type TSP-Link accessible Affected by Where saved Default value
Usage
frequency = localnode.linefreq
localnode.linefreq = frequency
An integer representing the instrument's detected or specified line frequency
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
Sets the line frequency to 60 Hz.
Also see
localnode.autolinefreq (on page 7-137)