DaylightSavingTime

SCPI Command :

SYSTem:TIME:DSTime:MODE
class DaylightSavingTimeCls[source]

DaylightSavingTime commands group definition. 3 total commands, 1 Subgroups, 1 group commands

get_mode() bool[source]
# SCPI: SYSTem:TIME:DSTime:MODE
value: bool = driver.system.time.daylightSavingTime.get_mode()

Configures whether the operating system automatically adjusts its clock for daylight saving time (DST) or not. The rules defining when exactly the clock must be adjusted by which offset depend on the configured time zone, see method RsCMPX_Base.System.Time.DaylightSavingTime.Rule.value. If the automatism is disabled, the local time is calculated as: Local time = UTC + time zone offset (no DST offset)

return:

dst: No help available

set_mode(dst: bool) None[source]
# SCPI: SYSTem:TIME:DSTime:MODE
driver.system.time.daylightSavingTime.set_mode(dst = False)

Configures whether the operating system automatically adjusts its clock for daylight saving time (DST) or not. The rules defining when exactly the clock must be adjusted by which offset depend on the configured time zone, see method RsCMPX_Base.System.Time.DaylightSavingTime.Rule.value. If the automatism is disabled, the local time is calculated as: Local time = UTC + time zone offset (no DST offset)

param dst:

ON | 1: automatism enabled OFF | 0: automatism disabled

Cloning the Group

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

Subgroups