from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class Chip:
"""Chip commands group definition. 3 total commands, 0 Sub-groups, 3 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._base = CommandsGroup("chip", core, parent)
[docs] def get_perror(self) -> bool:
"""SCPI: CONFigure:WCDMa:MEASurement<instance>:MEValuation:RESult:CHIP:PERRor \n
Snippet: value: bool = driver.configure.multiEval.result.chip.get_perror() \n
Enables or disables the evaluation of results and shows or hides the phase error vs. chip view in the multi-evaluation
measurement. \n
:return: enable_ph_err_chip: OFF | ON OFF: Do not evaluate results, hide the view ON: Evaluate results and show the view
"""
response = self._core.io.query_str('CONFigure:WCDMa:MEASurement<Instance>:MEValuation:RESult:CHIP:PERRor?')
return Conversions.str_to_bool(response)
[docs] def set_perror(self, enable_ph_err_chip: bool) -> None:
"""SCPI: CONFigure:WCDMa:MEASurement<instance>:MEValuation:RESult:CHIP:PERRor \n
Snippet: driver.configure.multiEval.result.chip.set_perror(enable_ph_err_chip = False) \n
Enables or disables the evaluation of results and shows or hides the phase error vs. chip view in the multi-evaluation
measurement. \n
:param enable_ph_err_chip: OFF | ON OFF: Do not evaluate results, hide the view ON: Evaluate results and show the view
"""
param = Conversions.bool_to_str(enable_ph_err_chip)
self._core.io.write(f'CONFigure:WCDMa:MEASurement<Instance>:MEValuation:RESult:CHIP:PERRor {param}')
[docs] def get_merror(self) -> bool:
"""SCPI: CONFigure:WCDMa:MEASurement<instance>:MEValuation:RESult:CHIP:MERRor \n
Snippet: value: bool = driver.configure.multiEval.result.chip.get_merror() \n
Enables or disables the evaluation of results and shows or hides the magnitude error vs.
chip view in the multi-evaluation measurement. \n
:return: enable_merr_chip: OFF | ON OFF: Do not evaluate results, hide the view ON: Evaluate results and show the view
"""
response = self._core.io.query_str('CONFigure:WCDMa:MEASurement<Instance>:MEValuation:RESult:CHIP:MERRor?')
return Conversions.str_to_bool(response)
[docs] def set_merror(self, enable_merr_chip: bool) -> None:
"""SCPI: CONFigure:WCDMa:MEASurement<instance>:MEValuation:RESult:CHIP:MERRor \n
Snippet: driver.configure.multiEval.result.chip.set_merror(enable_merr_chip = False) \n
Enables or disables the evaluation of results and shows or hides the magnitude error vs.
chip view in the multi-evaluation measurement. \n
:param enable_merr_chip: OFF | ON OFF: Do not evaluate results, hide the view ON: Evaluate results and show the view
"""
param = Conversions.bool_to_str(enable_merr_chip)
self._core.io.write(f'CONFigure:WCDMa:MEASurement<Instance>:MEValuation:RESult:CHIP:MERRor {param}')
[docs] def get_evm(self) -> bool:
"""SCPI: CONFigure:WCDMa:MEASurement<instance>:MEValuation:RESult:CHIP:EVM \n
Snippet: value: bool = driver.configure.multiEval.result.chip.get_evm() \n
Enables or disables the evaluation of results and shows or hides the EVM vs. chip view in the multi-evaluation
measurement. \n
:return: enable_evm_chip: OFF | ON OFF: Do not evaluate results, hide the view ON: Evaluate results and show the view
"""
response = self._core.io.query_str('CONFigure:WCDMa:MEASurement<Instance>:MEValuation:RESult:CHIP:EVM?')
return Conversions.str_to_bool(response)
[docs] def set_evm(self, enable_evm_chip: bool) -> None:
"""SCPI: CONFigure:WCDMa:MEASurement<instance>:MEValuation:RESult:CHIP:EVM \n
Snippet: driver.configure.multiEval.result.chip.set_evm(enable_evm_chip = False) \n
Enables or disables the evaluation of results and shows or hides the EVM vs. chip view in the multi-evaluation
measurement. \n
:param enable_evm_chip: OFF | ON OFF: Do not evaluate results, hide the view ON: Evaluate results and show the view
"""
param = Conversions.bool_to_str(enable_evm_chip)
self._core.io.write(f'CONFigure:WCDMa:MEASurement<Instance>:MEValuation:RESult:CHIP:EVM {param}')