Waveform
SCPI Commands :
[SOURce<HW>]:BB:ARBitrary:WAVeform:DELete
[SOURce<HW>]:BB:ARBitrary:WAVeform:FREE
[SOURce<HW>]:BB:ARBitrary:WAVeform:POINts
[SOURce<HW>]:BB:ARBitrary:WAVeform:SELect
[SOURce<HW>]:BB:ARBitrary:WAVeform:TAG
- Commands in total: 9Subgroups: 2Direct child commands: 5
- delete(filename: str) None[source]
# [SOURce<HW>]:BB:ARBitrary:WAVeform:DELete driver.source.bb.arbitrary.waveform.delete(filename = 'abc')
Deletes the specified waveform file. If the file is not on the default path, the path must be specified at the same time. The file extension may be omitted. Only files with the file extension wv are deleted.
- Parameters:
filename – string
- get_free() int[source]
# [SOURce<HW>]:BB:ARBitrary:WAVeform:FREE value: int = driver.source.bb.arbitrary.waveform.get_free()
Queries the free disk space on the default path of the instrument’s hard disk.
- Returns:
free: integer Range: 0 to INT_MAX
- get_points() int[source]
# [SOURce<HW>]:BB:ARBitrary:WAVeform:POINts value: int = driver.source.bb.arbitrary.waveform.get_points()
Queries the number of samples (the number of I/Q values pairs) in the selected waveform file.
- Returns:
points: waveform filename Range: 0 to 1000
- get_select() str[source]
# [SOURce<HW>]:BB:ARBitrary:WAVeform:SELect value: str = driver.source.bb.arbitrary.waveform.get_select()
Selects an existing waveform file, i.e. file with extension wv.
- Returns:
filename: string
- get_tag() str[source]
# [SOURce<HW>]:BB:ARBitrary:WAVeform:TAG value: str = driver.source.bb.arbitrary.waveform.get_tag()
Queries the content of the specified tag of the selected waveform file (see also ‘Tags for waveforms, data and control lists’) .
- Returns:
tag: ‘comment’| ‘copyright’| ‘date’| ‘lacpfilter’| ‘marker name’| ‘poweroffset’| ‘samples’
- set_select(filename: str) None[source]
# [SOURce<HW>]:BB:ARBitrary:WAVeform:SELect driver.source.bb.arbitrary.waveform.set_select(filename = 'abc')
Selects an existing waveform file, i.e. file with extension wv.
- Parameters:
filename – string
Cloning the Group
# Create a copy of the original group, that exists independently
waveform_copy = driver.source.bb.arbitrary.waveform.clone()
Subgroups