[docs]defpreset(self)->None:"""SCPI: [SOURce<HW>]:BB:EVDO:PRESet \n Snippet: driver.source.bb.evdo.preset() \n Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:EVDO:STATe. \n """self._core.io.write(f'SOURce<HwInstance>:BB:EVDO:PRESet')
[docs]defpreset_with_opc(self,opc_timeout_ms:int=-1)->None:"""SCPI: [SOURce<HW>]:BB:EVDO:PRESet \n Snippet: driver.source.bb.evdo.preset_with_opc() \n Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:EVDO:STATe. \n Same as preset, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value. \n :param opc_timeout_ms: Maximum time to wait in milliseconds, valid only for this call."""self._core.io.write_with_opc(f'SOURce<HwInstance>:BB:EVDO:PRESet',opc_timeout_ms)
[docs]defget_slength(self)->int:"""SCPI: [SOURce<HW>]:BB:EVDO:SLENgth \n Snippet: value: int = driver.source.bb.evdo.get_slength() \n (For reverse link mode only) Sets the sequence length of the arbitrary waveform component of the 1XEV-DO signal in number of frames. This component is calculated in advance and output in the arbitrary waveform generator. It is added to the real time signal components. The number of chips is determined from this sequence length. One slot of 1.67ms duration equals 2048 chips. \n :return: slength: integer Range: 4 to dynamic """response=self._core.io.query_str('SOURce<HwInstance>:BB:EVDO:SLENgth?')returnConversions.str_to_int(response)
[docs]defset_slength(self,slength:int)->None:"""SCPI: [SOURce<HW>]:BB:EVDO:SLENgth \n Snippet: driver.source.bb.evdo.set_slength(slength = 1) \n (For reverse link mode only) Sets the sequence length of the arbitrary waveform component of the 1XEV-DO signal in number of frames. This component is calculated in advance and output in the arbitrary waveform generator. It is added to the real time signal components. The number of chips is determined from this sequence length. One slot of 1.67ms duration equals 2048 chips. \n :param slength: integer Range: 4 to dynamic """param=Conversions.decimal_value_to_str(slength)self._core.io.write(f'SOURce<HwInstance>:BB:EVDO:SLENgth {param}')
[docs]defget_state(self)->bool:"""SCPI: [SOURce<HW>]:BB:EVDO:STATe \n Snippet: value: bool = driver.source.bb.evdo.get_state() \n Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path. \n :return: state: 1| ON| 0| OFF """response=self._core.io.query_str('SOURce<HwInstance>:BB:EVDO:STATe?')returnConversions.str_to_bool(response)
[docs]defset_state(self,state:bool)->None:"""SCPI: [SOURce<HW>]:BB:EVDO:STATe \n Snippet: driver.source.bb.evdo.set_state(state = False) \n Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path. \n :param state: 1| ON| 0| OFF """param=Conversions.bool_to_str(state)self._core.io.write(f'SOURce<HwInstance>:BB:EVDO:STATe {param}')
[docs]defget_stime(self)->int:"""SCPI: [SOURce<HW>]:BB:EVDO:STIMe \n Snippet: value: int = driver.source.bb.evdo.get_stime() \n Sets the System Time value of the 1xEV-DO signal and the base station. The System Time value is expressed in units of 1. 67 ms intervals (80 ms/ 48) . Note: In uplink, the value selected for system time must be multiple of 16. \n :return: stime: integer Range: 0 to 2199023255551 """response=self._core.io.query_str('SOURce<HwInstance>:BB:EVDO:STIMe?')returnConversions.str_to_int(response)
[docs]defset_stime(self,stime:int)->None:"""SCPI: [SOURce<HW>]:BB:EVDO:STIMe \n Snippet: driver.source.bb.evdo.set_stime(stime = 1) \n Sets the System Time value of the 1xEV-DO signal and the base station. The System Time value is expressed in units of 1. 67 ms intervals (80 ms/ 48) . Note: In uplink, the value selected for system time must be multiple of 16. \n :param stime: integer Range: 0 to 2199023255551 """param=Conversions.decimal_value_to_str(stime)self._core.io.write(f'SOURce<HwInstance>:BB:EVDO:STIMe {param}')
[docs]defget_version(self)->str:"""SCPI: [SOURce<HW>]:BB:EVDO:VERSion \n Snippet: value: str = driver.source.bb.evdo.get_version() \n Queries the version of the 1xEV-DO standard underlying the definitions \n :return: version: string """response=self._core.io.query_str('SOURce<HwInstance>:BB:EVDO:VERSion?')returntrim_str_response(response)
defclone(self)->'EvdoCls':"""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=EvdoCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group