EasyManua.ls Logo

Keithley 2450

Keithley 2450
878 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Model 2450
Interactive SourceMeter® Instrument Reference Manual Section 8:
TSP command reference
2450-901-01 Rev. B/September 2013 8-69
localnode.gettime()
This function retrieves the instrument date and time.
Type TSP-Link accessible
Affected by Where saved Default value
Function
Yes
Usage
localnode.gettime()
Details
The time is returned in UTC time. UTC time is specified as the number of seconds since Jan 1, 1970, UTC. You
can use UTC time from a local time specification, or you can use UTC time from another source (for example,
your computer).
Example
print(os.date('%c', gettime()))
Example output:
Wed Mar 31 14:25:31 2010
Also see
localnode.settime() (on page 8-72)
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 (R)
Yes
Power cycle
Not applicable
Not applicable
Usage
frequency = localnode.linefreq
frequency
The detected line frequency: 50 or 60
Details
The instrument automatically detects the power line frequency (either 50 Hz or 60 Hz) at each power-up. This
detected line frequency is used for aperture (NPLC) calculations.
If you are using this command from a remote node, replace localnode with the node reference, for example,
node[5].linefreq.
Example
frequency = localnode.linefreq
print(frequency)
Reads line frequency setting.
Also see
None

Table of Contents

Other manuals for Keithley 2450

Related product manuals