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 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 (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

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