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
class WaveformCls[source]

Waveform commands group definition. 9 total commands, 2 Subgroups, 5 group commands

delete(filename: str) None[source]
# SCPI: [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.

param filename

string

get_free() int[source]
# SCPI: [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.

return

free: integer Range: 0 to INT_MAX

get_points() int[source]
# SCPI: [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.

return

points: waveform filename Range: 0 to 1000

get_select() str[source]
# SCPI: [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.

return

filename: string

get_tag() str[source]
# SCPI: [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’) .

return

tag: ‘comment’| ‘copyright’| ‘date’| ‘lacpfilter’| ‘marker name’| ‘poweroffset’| ‘samples’

set_select(filename: str) None[source]
# SCPI: [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.

param filename

string

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.bb.arbitrary.waveform.clone()

Subgroups