[docs]defget_did(self)->str:"""SCPI: [SOURce<HW>]:BB:WLAD:PCONfig:MAC:DID \n Snippet: value: str = driver.source.bb.wlad.pconfig.mac.get_did() \n Sets the value of the duration ID field. Depending on the frame type, the 2-byte field Duration/ID is used to transmit the association identity of the station transmitting the frame or it indicates the duration assigned to the frame type. Exactly 16 bit must be entered. \n :return: did: 16 bits """response=self._core.io.query_str('SOURce<HwInstance>:BB:WLAD:PCONfig:MAC:DID?')returntrim_str_response(response)
[docs]defset_did(self,did:str)->None:"""SCPI: [SOURce<HW>]:BB:WLAD:PCONfig:MAC:DID \n Snippet: driver.source.bb.wlad.pconfig.mac.set_did(did = rawAbc) \n Sets the value of the duration ID field. Depending on the frame type, the 2-byte field Duration/ID is used to transmit the association identity of the station transmitting the frame or it indicates the duration assigned to the frame type. Exactly 16 bit must be entered. \n :param did: 16 bits """param=Conversions.value_to_str(did)self._core.io.write(f'SOURce<HwInstance>:BB:WLAD:PCONfig:MAC:DID {param}')
[docs]defget_state(self)->bool:"""SCPI: [SOURce<HW>]:BB:WLAD:PCONfig:MAC:STATe \n Snippet: value: bool = driver.source.bb.wlad.pconfig.mac.get_state() \n Activates/deactivates the generation of the MAC Header. \n :return: state: 1| ON| 0| OFF """response=self._core.io.query_str('SOURce<HwInstance>:BB:WLAD:PCONfig:MAC:STATe?')returnConversions.str_to_bool(response)
[docs]defset_state(self,state:bool)->None:"""SCPI: [SOURce<HW>]:BB:WLAD:PCONfig:MAC:STATe \n Snippet: driver.source.bb.wlad.pconfig.mac.set_state(state = False) \n Activates/deactivates the generation of the MAC Header. \n :param state: 1| ON| 0| OFF """param=Conversions.bool_to_str(state)self._core.io.write(f'SOURce<HwInstance>:BB:WLAD:PCONfig:MAC:STATe {param}')
defclone(self)->'MacCls':"""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=MacCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group