Section 6: SCPI command reference
Model 2450 Interactive SourceMeter® Instrument Reference Manual
6-106
2450-901-01 Rev. B/September 2013
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
Set the instrument to restore the settings
that are saved in the stored setup 1 when
the instrument is powered on.
Also see
(on page 6-2)
:SYSTem:TIME
This command sets the absolute time of the instrument.
Type
Affected by
Where saved
Default value
Command and query
Not applicable
Nonvolatile memory
See
Details
Usage
:SYSTem:TIME <year>, <month>, <day>, <hour>, <minute>, <second>
:SYSTem:TIME <hour>, <minute>, <second>
:SYSTem:TIME?
:SYSTem:TIME? 1
<year>
Year; must be more than 1970
<month>
Month (1 to 12)
<day>
Day (1 to 31)
<hour>
Hour in 24-hour time format (0 to 23)
<minute>
Minute (0 to 60)
<second>
Second (0 to 60)
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
Set the system time to May 12, 2014 at
05:51:30.
Also see
None