Time
SCPI Command :
[SOURce<HW>]:BB:GNSS:SVID<CH>:GLONass:SIMulated:CLOCk:TIME
- class TimeCls[source]
Time commands group definition. 1 total commands, 0 Subgroups, 1 group commands
- class TimeStruct[source]
Response structure. Fields:
Hour: int: integer Range: 0 to 23
Minute: int: integer Range: 0 to 59
Second: float: float Range: 0 to 59.999
- get(satelliteSvid=SatelliteSvid.Default) TimeStruct [source]
# SCPI: [SOURce<HW>]:BB:GNSS:SVID<CH>:GLONass:SIMulated:CLOCk:TIME value: TimeStruct = driver.source.bb.gnss.svid.glonass.simulated.clock.time.get(satelliteSvid = repcap.SatelliteSvid.Default)
Sets the reference time.
- param satelliteSvid
optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Svid’)
- return
structure: for return value, see the help for TimeStruct structure arguments.
- set(hour: int, minute: int, second: float, satelliteSvid=SatelliteSvid.Default) None [source]
# SCPI: [SOURce<HW>]:BB:GNSS:SVID<CH>:GLONass:SIMulated:CLOCk:TIME driver.source.bb.gnss.svid.glonass.simulated.clock.time.set(hour = 1, minute = 1, second = 1.0, satelliteSvid = repcap.SatelliteSvid.Default)
Sets the reference time.
- param hour
integer Range: 0 to 23
- param minute
integer Range: 0 to 59
- param second
float Range: 0 to 59.999
- param satelliteSvid
optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Svid’)