Source code for RsSmw.Implementations.Source.Bb.Wlnn.Waveform
from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class WaveformCls:
"""Waveform commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("waveform", core, parent)
[docs] def set_create(self, filename: str) -> None:
"""SCPI: [SOURce<HW>]:BB:WLNN:WAVeform:CREate \n
Snippet: driver.source.bb.wlnn.waveform.set_create(filename = 'abc') \n
Creates a waveform using the current settings of the 'WLAN' menu. The file name is entered with the command. The file is
saved with the predefined file extension *.wv. The file name and the directory it is saved in are user-definable. \n
:param filename: string
"""
param = Conversions.value_to_quoted_str(filename)
self._core.io.write(f'SOURce<HwInstance>:BB:WLNN:WAVeform:CREate {param}')