Date

SCPI Command :

SYSTem:DATE
Commands in total: 1
Subgroups: 0
Direct child commands: 1
class DateStruct[source]

Response structure. Fields:

  • 1 Year: int: Year, to be entered as a four-digit number (including the century and millennium information)

  • 2 Month: int: Month, 1 (January) to 12 (December)

  • 3 Day: int: Day, 1 to the maximum number of days in the specified month

get() DateStruct[source]
# SYSTem:DATE
value: DateStruct = driver.system.date.get()

Sets the date of the internal calendar.

Returns:

structure: for return value, see the help for DateStruct structure arguments.

set(year: int, month: int, day: int) None[source]
# SYSTem:DATE
driver.system.date.set(year = 1, month = 1, day = 1)

Sets the date of the internal calendar.

Parameters:
  • year – Year, to be entered as a four-digit number (including the century and millennium information)

  • month – Month, 1 (January) to 12 (December)

  • day – Day, 1 to the maximum number of days in the specified month