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
Commands in total: 6
Subgroups: 1
Direct child commands: 4
get_amplitude() float[source]
# [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.

Returns:

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

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

Sets the frequency of the test signal.

Returns:

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

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

Sets the DC component.

Returns:

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

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

Returns:

samples: integer Range: 4 to 1000

set_amplitude(amplitude: float) None[source]
# [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.

Parameters:

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

set_frequency(frequency: float) None[source]
# [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.

Parameters:

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

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

Sets the DC component.

Parameters:

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

set_samples(samples: int) None[source]
# [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.

Parameters:

samples – integer Range: 4 to 1000

Cloning the Group

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

Subgroups