Source code for RsSmw.Implementations.Source.Bb.Arbitrary.Cfr.Waveform
from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class WaveformCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("waveform", core, parent)
[docs]
def set_create(self, create_wv_file: str) -> None:
"""
``[SOURce<HW>]:BB:ARBitrary:CFR:WAVeform:CREate`` \n
Snippet: ``driver.source.bb.arbitrary.cfr.waveform.set_create(create_wv_file = 'abc')`` \n
With enabled signal generation, triggers the instrument to save the current settings in a waveform file. Waveform files
can be further processed. The filename and the directory it is saved in are user-definable; the predefined file extension
for waveform files is wv.
:param create_wv_file: string
"""
param = Conversions.value_to_quoted_str(create_wv_file)
self._core.io.write(f'SOURce<HwInstance>:BB:ARBitrary:CFR:WAVeform:CREate {param}')