Source code for RsCma.Implementations.Configure.Vse.Measurement.PtFive

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
from ..... import enums


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class PtFiveCls: """PtFive commands group definition. 3 total commands, 0 Subgroups, 3 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("ptFive", core, parent)
[docs] def get_symbol_rate(self) -> int: """SCPI: CONFigure:VSE:MEASurement<Instance>:PTFive:SRATe \n Snippet: value: int = driver.configure.vse.measurement.ptFive.get_symbol_rate() \n Queries the symbol rate for P25 with C4FM modulation. \n :return: symbol_rate: Unit: symbol/s """ response = self._core.io.query_str('CONFigure:VSE:MEASurement<Instance>:PTFive:SRATe?') return Conversions.str_to_int(response)
# noinspection PyTypeChecker
[docs] def get_mode(self) -> enums.P25Mode: """SCPI: CONFigure:VSE:MEASurement<Instance>:PTFive:MODE \n Snippet: value: enums.P25Mode = driver.configure.vse.measurement.ptFive.get_mode() \n Specifies the modulation type used for P25 phase 1 modulation. \n :return: mode: C4FM """ response = self._core.io.query_str('CONFigure:VSE:MEASurement<Instance>:PTFive:MODE?') return Conversions.str_to_scalar_enum(response, enums.P25Mode)
# noinspection PyTypeChecker
[docs] def get_filter_py(self) -> enums.PulseShapingUserFilter: """SCPI: CONFigure:VSE:MEASurement<Instance>:PTFive:FILTer \n Snippet: value: enums.PulseShapingUserFilter = driver.configure.vse.measurement.ptFive.get_filter_py() \n Specifies the used P25 measurement filter. \n :return: filter_py: SINC """ response = self._core.io.query_str('CONFigure:VSE:MEASurement<Instance>:PTFive:FILTer?') return Conversions.str_to_scalar_enum(response, enums.PulseShapingUserFilter)