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: 5Subgroups: 1Direct child commands: 3
- get_frequency() float[source]
# [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.
- Returns:
frequency: float Range: 100 to depends on the installed options, Unit: Hz
- get_phase() float[source]
# [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.
- Returns:
phase: float Range: -180 to 180, Unit: DEG
- get_samples() int[source]
# [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. The resulting clock rate must not exceed the maximum ARB clock rate (see data sheet) . The maximum value is automatically restricted by reference to the set frequency and has to fulfill the rule Frequency * Samples <= ARB clock rate.
- Returns:
samples: integer Range: 4 to 1000
- set_frequency(frequency: float) None[source]
# [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.
- Parameters:
frequency – float Range: 100 to depends on the installed options, Unit: Hz
- set_phase(phase: float) None[source]
# [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.
- Parameters:
phase – float Range: -180 to 180, Unit: DEG
- set_samples(samples: int) None[source]
# [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. The resulting clock rate must not exceed the maximum ARB clock rate (see data sheet) . The maximum value is automatically restricted by reference to the set frequency and has to fulfill the rule Frequency * Samples <= ARB clock rate.
- Parameters:
samples – integer Range: 4 to 1000
Cloning the Group
# Create a copy of the original group, that exists independently
sine_copy = driver.source.bb.arbitrary.tsignal.sine.clone()
Subgroups