Time

SCPI Commands :

SYSTem:TIME
SYSTem:TIME:LOCal
SYSTem:TIME:PROTocol
SYSTem:TIME:UTC
class TimeCls[source]

Time commands group definition. 12 total commands, 3 Subgroups, 4 group commands

class TimeStruct[source]

Response structure. Fields:

  • Hour: List[int]: integer Range: 0 to 23

  • Minute: int: integer Range: 0 to 59

  • Second: int: integer Range: 0 to 59

get() TimeStruct[source]
# SCPI: SYSTem:TIME
value: TimeStruct = driver.system.time.get()

Queries or sets the time for the instrument-internal clock. This is a password-protected function. Unlock the protection level 1 to access it. See method RsAreg.System.Protect.State.set.

return:

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

get_local() str[source]
# SCPI: SYSTem:TIME:LOCal
value: str = driver.system.time.get_local()

No command help available

return:

pseudo_string: No help available

get_protocol() TimeProtocol[source]
# SCPI: SYSTem:TIME:PROTocol
value: enums.TimeProtocol = driver.system.time.get_protocol()

No command help available

return:

time_protocol: No help available

get_utc() str[source]
# SCPI: SYSTem:TIME:UTC
value: str = driver.system.time.get_utc()

No command help available

return:

pseudo_string: No help available

set(hour: List[int], minute: int, second: int) None[source]
# SCPI: SYSTem:TIME
driver.system.time.set(hour = [1, 2, 3], minute = 1, second = 1)

Queries or sets the time for the instrument-internal clock. This is a password-protected function. Unlock the protection level 1 to access it. See method RsAreg.System.Protect.State.set.

param hour:

integer Range: 0 to 23

param minute:

integer Range: 0 to 59

param second:

integer Range: 0 to 59

set_local(pseudo_string: str) None[source]
# SCPI: SYSTem:TIME:LOCal
driver.system.time.set_local(pseudo_string = 'abc')

No command help available

param pseudo_string:

No help available

set_protocol(time_protocol: TimeProtocol) None[source]
# SCPI: SYSTem:TIME:PROTocol
driver.system.time.set_protocol(time_protocol = enums.TimeProtocol._0)

No command help available

param time_protocol:

No help available

set_utc(pseudo_string: str) None[source]
# SCPI: SYSTem:TIME:UTC
driver.system.time.set_utc(pseudo_string = 'abc')

No command help available

param pseudo_string:

No help available

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.system.time.clone()

Subgroups