Property (Read-Write)
SCPI.SYSTem.TIME = Data
Data = SCPI.SYSTem.TIME
This command sets/gets the time of the clock built in the E5072A.
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. |
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
System > Misc Setup > Clock Setup > Set Date and Time
:SYSTem:TIME <numeric 1>,<numeric 2>,<numeric 3>
:SYSTem:TIME?
{numeric 1},{numeric 2},{numeric 3}<newline><^END>
10 OUTPUT 717;":SYST:TIME 17,30,0"
20 OUTPUT 717;":SYST:TIME?"
30 ENTER 717;A,B,C