SYSTem:TIME:SCAN?

34980A

SYSTem:TIME:SCAN?

Syntax

SYSTem:TIME:SCAN?

Description

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

Used With:

  • 34921A through 34925A Multiplexer Modules

  • 34950A Digital I/O Module (digital input and counter channels only)

  • 34952A Multifunction Module (digital input and totalizer channels only)

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 command 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:  2004,11,21,10,03,10.314

See Also

SYSTem:DATE

SYSTem:TIME