Property (Read-Write)
SCPI.SYSTem.DATE = Data
Data = SCPI.SYSTem.DATE
This command sets/gets the date of the clock built in the E5071C. The login as the user name of "administrator" is required to set the time. (On Windows 7, this works under user account (Instrument account) when the UAC is set to off.)
Parameter |
Data |
Description |
Indicates 3-element array data (date of the built-in clock).
The index of the array starts from 0. |
Data type |
Variant type (Variant) |
Range |
|
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 Day As Variant
SCPI.SYSTem.DATE = Array(2005,12,10)
Day = SCPI.SYSTem.DATE
Dim Day(2) As Variant
Dim Ref As Variant
Day(0) = 2005
Day(1) = 12
Day(2) = 10
SCPI.SYSTem.DATE = Day
Ref = SCPI.SYSTem.DATE
System > Misc Setup > Clock Setup > Set Date and Time
:SYSTem:DATE <numeric 1 (year)>,<numeric 2 (month)>,<numeric 3 (day)>
:SYSTem:DATE?
{numeric 1 (year)},{numeric 2 (month)},{numeric 3 (day)}<newline><^END>
10 OUTPUT 717;":SYST:DATE 2005,12,10"
20 OUTPUT 717;":SYST:DATE?"
30 ENTER 717;A,B,C