SCPI.SYSTem.DATE

Object type

Property (Read-Write)

Syntax

SCPI.SYSTem.DATE = Data

Data = SCPI.SYSTem.DATE

Description

This command sets/gets the date of the clock built in the E5072A.

Variable

Parameter

Data

Description

Indicates 3-element array data (date of the built-in clock).

  • Data(0) Sets year.

  • Data(1) Sets month.

  • Data(2) Sets day.

The index of the array starts from 0.

Data type

Variant type (Variant)

Range

  • Data(0) 2002 to 2037

  • Data(1) 1 to 12

  • Data(2) 1 to 31

Resolution

1

Note

If the specified variable is out of the allowable setup range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of the range is exceeded) is set.

Examples

Dim Day As Variant
SCPI.SYSTem.DATE = Array(2011,11,11)
Day = SCPI.SYSTem.DATE

Dim Day(2) As Variant
Dim Ref As Variant
Day(0) = 2011
Day(1) = 11
Day(2) = 11
SCPI.SYSTem.DATE = Day
Ref = SCPI.SYSTem.DATE

Related objects

SCPI.SYSTem.TIME

SCPI.DISPlay.CLOCk

Equivalent key

System > Misc Setup > Clock Setup > Set Date and Time

Equivalent SCPI command

Syntax

:SYSTem:DATE <numeric 1>,<numeric 2>,<numeric 3>

:SYSTem:DATE?

Query response

{numeric 1},{numeric 2},{numeric 3}<newline><^END>

Example of use

10 OUTPUT 717;":SYST:DATE 2011,11,11"
20 OUTPUT 717;":SYST:DATE?"
30 ENTER 717;A,B,C