Rectangle

SCPI Commands :

[SOURce<HW>]:BB:ARBitrary:TSIGnal:RECTangle:AMPLitude
[SOURce<HW>]:BB:ARBitrary:TSIGnal:RECTangle:FREQuency
[SOURce<HW>]:BB:ARBitrary:TSIGnal:RECTangle:OFFSet
[SOURce<HW>]:BB:ARBitrary:TSIGnal:RECTangle:SAMPles
class RectangleCls[source]

Rectangle commands group definition. 6 total commands, 1 Subgroups, 4 group commands

get_amplitude() float[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:TSIGnal:RECTangle:AMPLitude
value: float = driver.source.bb.arbitrary.tsignal.rectangle.get_amplitude()

Sets the digital amplitude of the rectangular wave.

return

amplitude: float Range: 0 to 1, Unit: FS

get_frequency() float[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:TSIGnal:RECTangle:FREQuency
value: float = driver.source.bb.arbitrary.tsignal.rectangle.get_frequency()

Sets the frequency of the test signal.

return

frequency: float Range: 100 to depends on the installed options, Unit: Hz

get_offset() float[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:TSIGnal:RECTangle:OFFSet
value: float = driver.source.bb.arbitrary.tsignal.rectangle.get_offset()

Sets the DC component.

return

offset: float Range: -1 to 1, Unit: FS

get_samples() int[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:TSIGnal:RECTangle:SAMPles
value: int = driver.source.bb.arbitrary.tsignal.rectangle.get_samples()

Sets the number of sample values required for the rectangular signal per period.

return

samples: integer Range: 4 to 1000

set_amplitude(amplitude: float) None[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:TSIGnal:RECTangle:AMPLitude
driver.source.bb.arbitrary.tsignal.rectangle.set_amplitude(amplitude = 1.0)

Sets the digital amplitude of the rectangular wave.

param amplitude

float Range: 0 to 1, Unit: FS

set_frequency(frequency: float) None[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:TSIGnal:RECTangle:FREQuency
driver.source.bb.arbitrary.tsignal.rectangle.set_frequency(frequency = 1.0)

Sets the frequency of the test signal.

param frequency

float Range: 100 to depends on the installed options, Unit: Hz

set_offset(offset: float) None[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:TSIGnal:RECTangle:OFFSet
driver.source.bb.arbitrary.tsignal.rectangle.set_offset(offset = 1.0)

Sets the DC component.

param offset

float Range: -1 to 1, Unit: FS

set_samples(samples: int) None[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:TSIGnal:RECTangle:SAMPles
driver.source.bb.arbitrary.tsignal.rectangle.set_samples(samples = 1)

Sets the number of sample values required for the rectangular signal per period.

param samples

integer Range: 4 to 1000

Cloning the Group

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

Subgroups