SCPI.SYSTem.TIME

Object type

Property (Read-Write)

Syntax

SCPI.SYSTem.TIME = Data

Data = SCPI.SYSTem.TIME

Description

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

Variable

Parameter

Data

Description

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

Data(0): Sets hour (24-hour basis)

Data(1) :Sets minute.

Data(2) :Sets second.

The index of the array starts from 0.

Data type

Variant type (Variant)

Range

Data(0) :0 to 23

Data(1) :0 to 59

Data(2) :0 to 59

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 Time As Variant
SCPI.SYSTem.TIME = Array(21,30,0)
Time = SCPI.SYSTem.TIME

 

Dim Time(2) As Variant
Dim Ref As Variant
Time(0) = 21
Time(1) = 30
Time(2) = 0
SCPI.SYSTem.TIME = Time
Ref = SCPI.SYSTem.TIME

Related objects

SCPI.SYSTem.DATE

SCPI.DISPlay.CLOCk

Equivalent key

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

Equivalent SCPI command

Syntax

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

:SYSTem:TIME?

Query response

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

Example of use

10 OUTPUT 717;":SYST:TIME 17,30,0"
20 OUTPUT 717;":SYST:TIME?"
30 ENTER 717;A,B,C