[docs]classOstreamsCls:"""Ostreams commands group definition. 4 total commands, 1 Subgroups, 3 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("ostreams",core,parent)@propertydefoutput(self):"""output commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_output'):from.OutputimportOutputClsself._output=OutputCls(self._core,self._cmd_group)returnself._output
[docs]defget_conflict(self)->bool:"""SCPI: [SOURce<HW>]:BB:GNSS:OSTReams:CONFlict \n Snippet: value: bool = driver.source.bb.gnss.ostreams.get_conflict() \n Indicates stream-specific and general signal generation conflicts in the GNSS output streams configuration. \n :return: conflict_status: 1| ON| 0| OFF """response=self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:OSTReams:CONFlict?')returnConversions.str_to_bool(response)
# noinspection PyTypeChecker
[docs]defget_count(self)->enums.NumberA:"""SCPI: [SOURce<HW>]:BB:GNSS:OSTReams:COUNt \n Snippet: value: enums.NumberA = driver.source.bb.gnss.ostreams.get_count() \n Sets the number of GNSS streams. \n :return: output_streams: 1| 2| 3| 4 Range: 1 to 4 """response=self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:OSTReams:COUNt?')returnConversions.str_to_scalar_enum(response,enums.NumberA)
[docs]defset_count(self,output_streams:enums.NumberA)->None:"""SCPI: [SOURce<HW>]:BB:GNSS:OSTReams:COUNt \n Snippet: driver.source.bb.gnss.ostreams.set_count(output_streams = enums.NumberA._1) \n Sets the number of GNSS streams. \n :param output_streams: 1| 2| 3| 4 Range: 1 to 4 """param=Conversions.enum_scalar_to_str(output_streams,enums.NumberA)self._core.io.write(f'SOURce<HwInstance>:BB:GNSS:OSTReams:COUNt {param}')
defclone(self)->'OstreamsCls':"""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=OstreamsCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group