SYSTem:TIME:SCAN?

From Keysight 34970A/34972A

SYSTem:TIME:SCAN?

Syntax

SYSTem:TIME:SCAN?

Description

This query returns the time at the start of the scan.

Used With:

  • 34901A   20 Channel Multiplexer (2/4-wire) Module
  • 34902A   16 Channel Multiplexer (2/4-wire) Module
  • 34907A   Multifunction Module (digital input and totalizer channels only)
  • 34908A   40 Channel Single-Ended Multiplexer Module

Remarks

  • You can read the time at any time, even during a scan.
  • This command is not affected by the FORMat:READing:TIME:TYPE command, which selects the time format for storing scanned data in memory (absolute time versus relative time).
  • This command is not affected by the CALCulate:AVERage:CLEar command, which clears all values from the statistics registers.
  • The instrument clears all stored data on all channels when a new scan is started, after a Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command).

Return Format

The query returns a string indicating the time and date at the start of the most recent scan.

The string returned has the form yyyy,mm,dd,hh,mm,ss.sss:

yyyy is the year
mm is the month
dd is the day of the month
hh is the hour in 24-hour format
mm is the minutes
ss.sss is the seconds (with 1 ms resolution)

For example:

Example

The following query returns the time and date at the start of the most recent scan.

SYST:TIME:SCAN?

Typical Response: 2009,07,26,22,03,10.314

See Also

SYSTem Subsystem Introduction

SYSTem:DATE

SYSTem:TIME