SYSTem:TIME
SYSTem:TIME
Syntax
SYSTem:TIME <hh>,<mm>,<ss.sss>
SYSTem:TIME?
Description
During a scan, the instrument stores all readings and alarms with the current time and date. This command sets the instrument clock (based on a 24-hour clock).
Parameters
Name Type Range of Values Default Value <hh> Numeric The hour in 24-hour clock format, from 0 to 23 This is a required parameter. <mm> Numeric The minutes, from 0 to 59 This is a required parameter. <ss.sss> Numeric The seconds, with 1 ms resolution, from 00.000 to 59.999 This is a required parameter.
Remarks
- When shipped from the factory, the instrument is set to the current time and date for Greenwich Mean Time (GMT).
- The clock setting is stored in non-volatile memory, and does not change when power has been off, after a Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command).
Return Format
The query returns three comma-separated values in the form "hh,mm,sss.ss".
Examples
The following command sets the clock to 3:30:23.000 PM.
SYST:TIME 15,30,23.000
The following query returns the current time.
SYST:TIME?
Typical Response: 15,30,23.000