Bbin

SCPI Commands :

[SOURce<HW>]:BBIN:CDEVice
[SOURce<HW>]:BBIN:CFACtor
[SOURce<HW>]:BBIN:FOFFset
[SOURce<HW>]:BBIN:MODE
[SOURce<HW>]:BBIN:MPERiod
[SOURce<HW>]:BBIN:PGAin
[SOURce<HW>]:BBIN:POFFset
[SOURce<HW>]:BBIN:ROUTe
[SOURce<HW>]:BBIN:STATe
class BbinCls[source]

Bbin commands group definition. 31 total commands, 7 Subgroups, 9 group commands

get_cdevice() str[source]
# SCPI: [SOURce<HW>]:BBIN:CDEVice
value: str = driver.source.bbin.get_cdevice()

Indicates the ID of an externally connected Rohde & Schwarz Instrument or Rohde & Schwarz device.

return

cdevice: string ‘None’ - no device is connected.

get_cfactor() float[source]
# SCPI: [SOURce<HW>]:BBIN:CFACtor
value: float = driver.source.bbin.get_cfactor()

No command help available

return

cfactor: No help available

get_foffset() float[source]
# SCPI: [SOURce<HW>]:BBIN:FOFFset
value: float = driver.source.bbin.get_foffset()

Sets a frequency offset for the internal/external baseband signal. The offset affects the generated baseband signal.

return

foffset: float Range: depends on the installed options , Unit: Hz E.g. -60 MHz to +60 MHz (R&S SMW-B10)

get_mode() RsSmw.enums.BbinModeDigital[source]
# SCPI: [SOURce<HW>]:BBIN:MODE
value: enums.BbinModeDigital = driver.source.bbin.get_mode()

Defines that a digital external signal is applied.

return

mode: DIGital

get_mperiod() int[source]
# SCPI: [SOURce<HW>]:BBIN:MPERiod
value: int = driver.source.bbin.get_mperiod()

For [:SOURce<hw>]:BBIN:DIGital:SOURce CODER1|CODER2 Sets the recording duration for measuring the baseband input signal by executed [:SOURce<hw>]:BBIN:ALEVel:EXECute.

return

mperiod: integer Range: 1 to 32, Unit: s

get_pgain() float[source]
# SCPI: [SOURce<HW>]:BBIN:PGAin
value: float = driver.source.bbin.get_pgain()

Sets the relative gain for the internal or external baseband signal compared with the signals of the other baseband sources.

return

pgain: float Range: -50 to 50, Unit: dB

get_poffset() float[source]
# SCPI: [SOURce<HW>]:BBIN:POFFset
value: float = driver.source.bbin.get_poffset()

Sets the relative phase offset for the external baseband signal.

return

poffset: float Range: -999.99 to 999.99, Unit: DEG

get_route() RsSmw.enums.PathUniCodBbin[source]
# SCPI: [SOURce<HW>]:BBIN:ROUTe
value: enums.PathUniCodBbin = driver.source.bbin.get_route()

Selects the signal route for the internal/external baseband signal. The internal and external signals are summed, if necessary.

return

route: A | B| AB

get_state() bool[source]
# SCPI: [SOURce<HW>]:BBIN:STATe
value: bool = driver.source.bbin.get_state()

Enables feeding of an external digital signal into the signal path.

return

state: 1| ON| 0| OFF

set_cfactor(cfactor: float) None[source]
# SCPI: [SOURce<HW>]:BBIN:CFACtor
driver.source.bbin.set_cfactor(cfactor = 1.0)

No command help available

param cfactor

No help available

set_foffset(foffset: float) None[source]
# SCPI: [SOURce<HW>]:BBIN:FOFFset
driver.source.bbin.set_foffset(foffset = 1.0)

Sets a frequency offset for the internal/external baseband signal. The offset affects the generated baseband signal.

param foffset

float Range: depends on the installed options , Unit: Hz E.g. -60 MHz to +60 MHz (R&S SMW-B10)

set_mode(mode: RsSmw.enums.BbinModeDigital) None[source]
# SCPI: [SOURce<HW>]:BBIN:MODE
driver.source.bbin.set_mode(mode = enums.BbinModeDigital.DIGital)

Defines that a digital external signal is applied.

param mode

DIGital

set_mperiod(mperiod: int) None[source]
# SCPI: [SOURce<HW>]:BBIN:MPERiod
driver.source.bbin.set_mperiod(mperiod = 1)

For [:SOURce<hw>]:BBIN:DIGital:SOURce CODER1|CODER2 Sets the recording duration for measuring the baseband input signal by executed [:SOURce<hw>]:BBIN:ALEVel:EXECute.

param mperiod

integer Range: 1 to 32, Unit: s

set_pgain(pgain: float) None[source]
# SCPI: [SOURce<HW>]:BBIN:PGAin
driver.source.bbin.set_pgain(pgain = 1.0)

Sets the relative gain for the internal or external baseband signal compared with the signals of the other baseband sources.

param pgain

float Range: -50 to 50, Unit: dB

set_poffset(poffset: float) None[source]
# SCPI: [SOURce<HW>]:BBIN:POFFset
driver.source.bbin.set_poffset(poffset = 1.0)

Sets the relative phase offset for the external baseband signal.

param poffset

float Range: -999.99 to 999.99, Unit: DEG

set_route(route: RsSmw.enums.PathUniCodBbin) None[source]
# SCPI: [SOURce<HW>]:BBIN:ROUTe
driver.source.bbin.set_route(route = enums.PathUniCodBbin.A)

Selects the signal route for the internal/external baseband signal. The internal and external signals are summed, if necessary.

param route

A | B| AB

set_state(state: bool) None[source]
# SCPI: [SOURce<HW>]:BBIN:STATe
driver.source.bbin.set_state(state = False)

Enables feeding of an external digital signal into the signal path.

param state

1| ON| 0| OFF

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.bbin.clone()

Subgroups