Date

SCPI Commands :

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

Response structure. Fields:

  • 1 Year: int: integer

  • 2 Month: int: integer Range: 1 to 12

  • 3 Day: int: integer Range: 1 to 31

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

Queries or sets the date for the instrument-internal calendar. This is a password-protected function. Unlock the protection level 1 to access it. See method RsSmw.system.protect.state.set() .

Returns:

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

get_local() str[source]
# SYSTem:DATE:LOCal
value: str = driver.system.date.get_local()

No help available

get_utc() str[source]
# SYSTem:DATE:UTC
value: str = driver.system.date.get_utc()

No help available

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

Queries or sets the date for the instrument-internal calendar. This is a password-protected function. Unlock the protection level 1 to access it. See method RsSmw.system.protect.state.set() .

Parameters:
  • year – integer

  • month – integer Range: 1 to 12

  • day – integer Range: 1 to 31

set_local(pseudo_string: str) None[source]
# SYSTem:DATE:LOCal
driver.system.date.set_local(pseudo_string = 'abc')

No help available

set_utc(pseudo_string: str) None[source]
# SYSTem:DATE:UTC
driver.system.date.set_utc(pseudo_string = 'abc')

No help available