Source code for RsFsw.Implementations.Applications.K70_Vsa.Trigger.Sequence.Level.Video

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class VideoCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("video", core, parent)

[docs] def set(self, arg_0: float) -> None: """ ``TRIGger[:SEQuence]:LEVel:VIDeo`` \n Snippet: ``driver.applications.k70Vsa.trigger.sequence.level.video.set(arg_0 = 1.0)`` \n Defines the level the video signal must exceed to cause a trigger event. Note that any RF attenuation or preamplification is considered when the trigger level is analyzed. :param arg_0: Range: 0 PCT to 100 PCT, Unit: PCT """ param = Conversions.decimal_value_to_str(arg_0) self._core.io.write(f'TRIGger:SEQuence:LEVel:VIDeo {param}')
[docs] def get(self) -> float: """ ``TRIGger[:SEQuence]:LEVel:VIDeo`` \n Snippet: ``value: float = driver.applications.k70Vsa.trigger.sequence.level.video.get()`` \n Defines the level the video signal must exceed to cause a trigger event. Note that any RF attenuation or preamplification is considered when the trigger level is analyzed. """ response = self._core.io.query_str(f'TRIGger:SEQuence:LEVel:VIDeo?') return Conversions.str_to_float(response)