EasyManua.ls Logo

Keithley 2461

Keithley 2461
1109 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...
Section
8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
Reference Manual
8-88 2461-901-01 A/November 2015
Details
Internally, the instrument bases time 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).
When called without a parameter (the first form), the function returns the current time.
Example 1
localnode.settime(2014, 3, 31, 14, 25, 0)
print(localnode.settime())
Sets the date and time to Mar 31, 2014 at 2:25
pm
and verifies the time.
Output:
Mon Mar 31 14:25:09 2014
Example 2
systemTime = os.time({year = 2014,
month = 3,
day = 31,
hour = 14,
min = 25})
localnode.settime(systemTime)
print(os.date('%c', gettime()))
Sets the date and time to Mar 31, 2014 at
2:25 pm.
Output:
Wed Mar 31 14:25:00 2010
Also see
localnode.gettime() (on page 8-84)
localnode.showevents
This attribute sets whether or not the instrument automatically outputs generated events to the remote interface.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW)
No
Power cycle
Not saved
0 (no events sent)
Usage
errorMode = localnode.showevents
localnode.showevents = errorMode
errorMode
The errors that are returned:
No events: 0
Errors only: 1 (eventlog.SEV_ERROR)
Warnings only: 2 (eventlog.SEV_WARN)
Errors and warnings: 3 (eventlog.SEV_ERROR| eventlog.SEV_WARN)
Information only: 4 (eventlog.SEV_INFO)
Information and errors: 5 (eventlog.SEV_INFO |eventlog.SEV_ERROR)
Warnings and information: 6 (eventlog.SEV_INFO|eventlog.SEV_WARN)
All events: 7 (eventlog.SEV_ALL)

Table of Contents

Other manuals for Keithley 2461

Related product manuals