Sine#

SCPI Commands :

[SOURce<HW>]:BB:ARBitrary:TSIGnal:SINE:FREQuency
[SOURce<HW>]:BB:ARBitrary:TSIGnal:SINE:PHASe
[SOURce<HW>]:BB:ARBitrary:TSIGnal:SINE:SAMPles
Commands in total: 5
Subgroups: 1
Direct child commands: 3
get_frequency ( ) → float
set_frequency ( frequency: float ) → None
# [SOURce<HW>]:BB:ARBitrary:TSIGnal:SINE:FREQuency
# get:
value: float = driver.source.bb.arbitrary.tsignal.sine.get_frequency()
# set:
driver.source.bb.arbitrary.tsignal.sine.set_frequency(frequency = 1.0)

Sets the frequency of the simple sinusoidal test signal.

Parameters:

frequency – float

get_phase ( ) → float
set_phase ( phase: float ) → None
# [SOURce<HW>]:BB:ARBitrary:TSIGnal:SINE:PHASe
# get:
value: float = driver.source.bb.arbitrary.tsignal.sine.get_phase()
# set:
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.

Parameters:

phase – float

get_samples ( ) → int
set_samples ( samples: int ) → None
# [SOURce<HW>]:BB:ARBitrary:TSIGnal:SINE:SAMPles
# get:
value: int = driver.source.bb.arbitrary.tsignal.sine.get_samples()
# set:
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.

Parameters:

samples – integer

Cloning the Group

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

Subgroups