Source code for RsPulseSeq.Implementations.ImportPy.Pdw.Data.Fsk

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
from .....Internal.Utilities import trim_str_response


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class FskCls: """Fsk commands group definition. 5 total commands, 0 Subgroups, 5 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("fsk", core, parent)
[docs] def get_chip_count(self) -> float: """SCPI: IMPort:PDW:DATA:FSK:CHIPcount \n Snippet: value: float = driver.importPy.pdw.data.fsk.get_chip_count() \n Queries the pulse parameter. \n :return: chip_count: float """ response = self._core.io.query_str('IMPort:PDW:DATA:FSK:CHIPcount?') return Conversions.str_to_float(response)
[docs] def get_pattern(self) -> str: """SCPI: IMPort:PDW:DATA:FSK:PATTern \n Snippet: value: str = driver.importPy.pdw.data.fsk.get_pattern() \n Queries the pulse parameter. \n :return: pattern: string """ response = self._core.io.query_str('IMPort:PDW:DATA:FSK:PATTern?') return trim_str_response(response)
[docs] def get_rate(self) -> float: """SCPI: IMPort:PDW:DATA:FSK:RATE \n Snippet: value: float = driver.importPy.pdw.data.fsk.get_rate() \n Queries the pulse parameter. \n :return: rate: float """ response = self._core.io.query_str('IMPort:PDW:DATA:FSK:RATE?') return Conversions.str_to_float(response)
[docs] def get_states(self) -> float: """SCPI: IMPort:PDW:DATA:FSK:STATes \n Snippet: value: float = driver.importPy.pdw.data.fsk.get_states() \n Queries the pulse parameter. \n :return: states: float """ response = self._core.io.query_str('IMPort:PDW:DATA:FSK:STATes?') return Conversions.str_to_float(response)
[docs] def get_step(self) -> float: """SCPI: IMPort:PDW:DATA:FSK:STEP \n Snippet: value: float = driver.importPy.pdw.data.fsk.get_step() \n Queries the pulse parameter. \n :return: step: float """ response = self._core.io.query_str('IMPort:PDW:DATA:FSK:STEP?') return Conversions.str_to_float(response)