[docs]classTimeCls:"""Time commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("time",core,parent)
[docs]defset(self,hour:int,minute:int,second:int)->None:"""SCPI: [SOURce<HW>]:BB:GNSS:TRIGger:TIME:TIME \n Snippet: driver.source.bb.gnss.trigger.time.time.set(hour = 1, minute = 1, second = 1) \n Sets the time for a time-based trigger signal. For trigger modes single or armed auto, you can activate triggering at this time via the following command: SOURce<hw>:BB:<DigStd>:TRIGger:TIME:STATe <DigStd> is the mnemonic for the digital standard, for example, ARB. Time-based triggering behaves analogously for all digital standards that support this feature. \n :param hour: integer Range: 0 to 23 :param minute: integer Range: 0 to 59 :param second: integer Range: 0 to 59 """param=ArgSingleList().compose_cmd_string(ArgSingle('hour',hour,DataType.Integer),ArgSingle('minute',minute,DataType.Integer),ArgSingle('second',second,DataType.Integer))self._core.io.write(f'SOURce<HwInstance>:BB:GNSS:TRIGger:TIME:TIME {param}'.rstrip())
[docs]defget(self)->TimeStruct:"""SCPI: [SOURce<HW>]:BB:GNSS:TRIGger:TIME:TIME \n Snippet: value: TimeStruct = driver.source.bb.gnss.trigger.time.time.get() \n Sets the time for a time-based trigger signal. For trigger modes single or armed auto, you can activate triggering at this time via the following command: SOURce<hw>:BB:<DigStd>:TRIGger:TIME:STATe <DigStd> is the mnemonic for the digital standard, for example, ARB. Time-based triggering behaves analogously for all digital standards that support this feature. \n :return: structure: for return value, see the help for TimeStruct structure arguments."""returnself._core.io.query_struct(f'SOURce<HwInstance>:BB:GNSS:TRIGger:TIME:TIME?',self.__class__.TimeStruct())