System:time - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Section 6: SCPI command reference
Details
When you select RST, the instrument restores settings to their default values when the instrument is powered on.
When you select a SAV option, the settings in the selected saved setup are applied when the instrument is
powered on. The settings are saved using the *SAV command.
Example
SYST:POS SAV1
Also see
*SAV
(on page 6-2)

:SYSTem:TIME

This command sets the absolute time of the instrument.
Type
Command and query
Usage
:SYSTem:TIME <year>, <month>, <day>, <hour>, <minute>, <second>
:SYSTem:TIME <hour>, <minute>, <second>
:SYSTem:TIME?
:SYSTem:TIME? 1
<year>
<month>
<day>
<hour>
<minute>
<second>
Details
When queried without a parameter, this command returns the present timestamp value in seconds since January
1, 1970 to the nearest second.
If you query with 1, this command returns the present timestamp in the format:
<weekday> <month> <day> <hour>:<minute>:<second> <year>
Where <weekday> is the day of the week.
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).
If you use os.time() but do not specify the time (hour, minute, and second) options, they default to noon for
that day. When called without a parameter (the first form), the function returns the current time.
Example
syst:time 2014, 5, 12, 5, 51, 30
Also see
None
6-106
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Affected by
Not applicable
Year; must be more than 1970
Month (1 to 12)
Day (1 to 31)
Hour in 24-hour time format (0 to 23)
Minute (0 to 60)
Second (0 to 60)
Set the instrument to restore the settings
that are saved in the stored setup 1 when
the instrument is powered on.
Where saved
Nonvolatile memory
Set the system time to May 12, 2014 at
05:51:30.
2450-901-01 Rev. B/September 2013
Default value
See Details

Advertisement

Table of Contents
loading

Table of Contents