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 E5061B. When you logged in the E5061B as standard user, an error occurs. Log in the user name of "Administrator" is required in case of Windows 10.

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) 2009 to 2037

  • Data(1) 1 to 12

  • Data(2) 1 to 31

Resolution

1

Examples

Dim Day As Variant
SCPI.SYSTem.DATE = Array(2012,12,24)
Day = SCPI.SYSTem.DATE

Dim Day(2) As Variant
Dim Ref As Variant
Day(0) = 2012
Day(1) = 12
Day(2) = 24
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 2012,1,1"
20 OUTPUT 717;":SYST:DATE?"
30 ENTER 717;A,B,C