Sine

SCPI Commands :

[SOURce<HW>]:BB:ARBitrary:TSIGnal:SINE:FREQuency
[SOURce<HW>]:BB:ARBitrary:TSIGnal:SINE:PHASe
[SOURce<HW>]:BB:ARBitrary:TSIGnal:SINE:SAMPles
class SineCls[source]

Sine commands group definition. 5 total commands, 1 Subgroups, 3 group commands

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

Sets the frequency of the simple sinusoidal test signal.

return:

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

get_phase() float[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:TSIGnal:SINE:PHASe
value: float = driver.source.bb.arbitrary.tsignal.sine.get_phase()

Sets the phase offset of the sine wave on the Q channel relative to the sine wave on the I channel.

return:

phase: float Range: -180 to 180, Unit: DEG

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

Sets the sample rate for the sine signal in samples per period. Make sure that the resulting clock rate does not exceed the maximum ARB clock rate. The maximum value is automatically restricted by reference to the set frequency and has to fulfill the rule Frequency * Samples <= ARB clock rate. For more information, refer to the specifications document.

return:

samples: integer Range: 4 to 1000

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

Sets the frequency of the simple sinusoidal test signal.

param frequency:

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

set_phase(phase: float) None[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:TSIGnal:SINE:PHASe
driver.source.bb.arbitrary.tsignal.sine.set_phase(phase = 1.0)

Sets the phase offset of the sine wave on the Q channel relative to the sine wave on the I channel.

param phase:

float Range: -180 to 180, Unit: DEG

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

Sets the sample rate for the sine signal in samples per period. Make sure that the resulting clock rate does not exceed the maximum ARB clock rate. The maximum value is automatically restricted by reference to the set frequency and has to fulfill the rule Frequency * Samples <= ARB clock rate. For more information, refer to the specifications document.

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.sine.clone()

Subgroups