Time
SCPI Command :
SYSTem:TIME
- Commands in total: 1Subgroups: 0Direct child commands: 1
- class TimeStruct[source]
Response structure. Fields:
1 Hours: int: 0 to 24
2 Minutes: int: 0 to 59
3 Seconds: int: 0 to 59
- get() TimeStruct[source]
# SYSTem:TIME value: TimeStruct = driver.system.time.get()
Returns the current time of the clock.
- Returns:
structure: for return value, see the help for TimeStruct structure arguments.
- set(hours: int, minutes: int, seconds: int) None[source]
# SYSTem:TIME driver.system.time.set(hours = 1, minutes = 1, seconds = 1)
Returns the current time of the clock.
- Parameters:
hours – 0 to 24
minutes – 0 to 59
seconds – 0 to 59