Generator

SCPI Commands :

TEST:BB:GENerator:ARBitrary
TEST:BB:GENerator:SOURce
TEST:BB:GENerator:STATe
class GeneratorCls[source]

Generator commands group definition. 12 total commands, 5 Subgroups, 3 group commands

get_arbitrary() str[source]
# SCPI: TEST:BB:GENerator:ARBitrary
value: str = driver.test.bb.generator.get_arbitrary()

Selects the ARB waveform to be tested.

return

filename: string

get_source() RsSmw.enums.TestBbGenIqSour[source]
# SCPI: TEST:BB:GENerator:SOURce
value: enums.TestBbGenIqSour = driver.test.bb.generator.get_source()

Selects the test signal source.

return

iq_source: SINE| CONStant| ARB| TTONe SINE Generates a sine waveform. To determine the frequency, use command method RsSmw.Test.Bb.Generator.Frequency.set. CONStant Uses a constant I/Q test signal. ARB Selects a signal generated generated by the ARB.

get_state() bool[source]
# SCPI: TEST:BB:GENerator:STATe
value: bool = driver.test.bb.generator.get_state()

Starts the test generator.

return

state: 1| ON| 0| OFF

set_arbitrary(filename: str) None[source]
# SCPI: TEST:BB:GENerator:ARBitrary
driver.test.bb.generator.set_arbitrary(filename = 'abc')

Selects the ARB waveform to be tested.

param filename

string

set_source(iq_source: RsSmw.enums.TestBbGenIqSour) None[source]
# SCPI: TEST:BB:GENerator:SOURce
driver.test.bb.generator.set_source(iq_source = enums.TestBbGenIqSour.ARB)

Selects the test signal source.

param iq_source

SINE| CONStant| ARB| TTONe SINE Generates a sine waveform. To determine the frequency, use command method RsSmw.Test.Bb.Generator.Frequency.set. CONStant Uses a constant I/Q test signal. ARB Selects a signal generated generated by the ARB.

set_state(state: bool) None[source]
# SCPI: TEST:BB:GENerator:STATe
driver.test.bb.generator.set_state(state = False)

Starts the test generator.

param state

1| ON| 0| OFF

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.test.bb.generator.clone()

Subgroups