[docs]defget_tbasis(self)->enums.TimeBasis:"""SCPI: [SOURce<HW>]:BB:GNSS:TIME:STARt:TBASis \n Snippet: value: enums.TimeBasis = driver.source.bb.gnss.time.start.get_tbasis() \n Determines the time basis used to enter the simulation start time. \n :return: system_time: UTC| GPS| GST| GLO| BDT| NAV """response=self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:TIME:STARt:TBASis?')returnConversions.str_to_scalar_enum(response,enums.TimeBasis)
[docs]defset_tbasis(self,system_time:enums.TimeBasis)->None:"""SCPI: [SOURce<HW>]:BB:GNSS:TIME:STARt:TBASis \n Snippet: driver.source.bb.gnss.time.start.set_tbasis(system_time = enums.TimeBasis.BDT) \n Determines the time basis used to enter the simulation start time. \n :param system_time: UTC| GPS| GST| GLO| BDT| NAV """param=Conversions.enum_scalar_to_str(system_time,enums.TimeBasis)self._core.io.write(f'SOURce<HwInstance>:BB:GNSS:TIME:STARt:TBASis {param}')
[docs]defget_to_week(self)->float:"""SCPI: [SOURce<HW>]:BB:GNSS:TIME:STARt:TOWeek \n Snippet: value: float = driver.source.bb.gnss.time.start.get_to_week() \n If time base is GPS or GST, sets the simulation start time within week set with the command [:SOURce<hw>]:BB:GNSS:TIME:STARt:WNUMber. \n :return: tow: float Number of seconds since the beginning of the week Range: 0 to 604799.999 """response=self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:TIME:STARt:TOWeek?')returnConversions.str_to_float(response)
[docs]defset_to_week(self,tow:float)->None:"""SCPI: [SOURce<HW>]:BB:GNSS:TIME:STARt:TOWeek \n Snippet: driver.source.bb.gnss.time.start.set_to_week(tow = 1.0) \n If time base is GPS or GST, sets the simulation start time within week set with the command [:SOURce<hw>]:BB:GNSS:TIME:STARt:WNUMber. \n :param tow: float Number of seconds since the beginning of the week Range: 0 to 604799.999 """param=Conversions.decimal_value_to_str(tow)self._core.io.write(f'SOURce<HwInstance>:BB:GNSS:TIME:STARt:TOWeek {param}')
[docs]defget_wnumber(self)->int:"""SCPI: [SOURce<HW>]:BB:GNSS:TIME:STARt:WNUMber \n Snippet: value: int = driver.source.bb.gnss.time.start.get_wnumber() \n If time base is GPS or GST, sets the week number (WN) . \n :return: week: integer The weeks are numbered starting from a reference time point (WN_REF=0) , that depends on the navigation standard. Range: 0 to 9999*53 """response=self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:TIME:STARt:WNUMber?')returnConversions.str_to_int(response)
[docs]defset_wnumber(self,week:int)->None:"""SCPI: [SOURce<HW>]:BB:GNSS:TIME:STARt:WNUMber \n Snippet: driver.source.bb.gnss.time.start.set_wnumber(week = 1) \n If time base is GPS or GST, sets the week number (WN) . \n :param week: integer The weeks are numbered starting from a reference time point (WN_REF=0) , that depends on the navigation standard. Range: 0 to 9999*53 """param=Conversions.decimal_value_to_str(week)self._core.io.write(f'SOURce<HwInstance>:BB:GNSS:TIME:STARt:WNUMber {param}')
defclone(self)->'StartCls':"""Clones the group by creating new object from it and its whole existing subgroups Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group"""new_group=StartCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group