Time
SCPI Commands :
SYSTem:TIME
SYSTem:TIME:SOURce
SYSTem:TIME:NTP
- class TimeCls[source]
Time commands group definition. 12 total commands, 4 Subgroups, 3 group commands
- class TimeStruct[source]
Response structure. Fields:
Hour: int: No parameter help available
Min_Py: int: No parameter help available
Sec: int: No parameter help available
- get() TimeStruct [source]
# SCPI: SYSTem:TIME value: TimeStruct = driver.system.time.get()
No command help available
- return:
structure: for return value, see the help for TimeStruct structure arguments.
- get_ntp() str [source]
# SCPI: SYSTem:TIME:NTP value: str = driver.system.time.get_ntp()
Configures the NTP server address for the time source NTP, see method RsCMPX_Base.System.Time.source.
- return:
time_server: No help available
- get_source() TimeSource [source]
# SCPI: SYSTem:TIME:SOURce value: enums.TimeSource = driver.system.time.get_source()
Selects the source for the date and time information.
- return:
time_source: - MANual: Manual configuration via SYSTem:DATE[:UTC] and SYSTem:TIME[:UTC]. - NTP: NTP server configured via SYSTem:TIME:NTP.
- set(hour: int, min_py: int, sec: int) None [source]
# SCPI: SYSTem:TIME driver.system.time.set(hour = 1, min_py = 1, sec = 1)
No command help available
- param hour:
No help available
- param min_py:
No help available
- param sec:
No help available
- set_ntp(time_server: str) None [source]
# SCPI: SYSTem:TIME:NTP driver.system.time.set_ntp(time_server = 'abc')
Configures the NTP server address for the time source NTP, see method RsCMPX_Base.System.Time.source.
- param time_server:
No help available
- set_source(time_source: TimeSource) None [source]
# SCPI: SYSTem:TIME:SOURce driver.system.time.set_source(time_source = enums.TimeSource.MANual)
Selects the source for the date and time information.
- param time_source:
MANual: Manual configuration via SYSTem:DATE[:UTC] and SYSTem:TIME[:UTC].
NTP: NTP server configured via SYSTem:TIME:NTP.
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.system.time.clone()
Subgroups