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
Commands in total: 33
Subgroups: 7
Direct child commands: 9
get_cdevice() str[source]
# [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.

Returns:

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

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

No help available

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

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

Returns:

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

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

Defines that a digital external signal is applied.

Returns:

mode: DIGital

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

For method RsSmw.source.bbin.digital.source() CODER1 | CODER2 Sets the recording duration for measuring the baseband input signal by executed method RsSmw.source.bbin.alevel.execute.set() .

Returns:

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

get_pgain() float[source]
# [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.

Returns:

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

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

Sets the relative phase offset for the external baseband signal.

Returns:

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

get_route() PathUniCodBbin[source]
# [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.

Returns:

route: A | B| AB

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

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

Returns:

state: 1 | ON | 0| OFF

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

No help available

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

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

Parameters:

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

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

Defines that a digital external signal is applied.

Parameters:

mode – DIGital

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

For method RsSmw.source.bbin.digital.source() CODER1 | CODER2 Sets the recording duration for measuring the baseband input signal by executed method RsSmw.source.bbin.alevel.execute.set() .

Parameters:

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

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

Parameters:

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

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

Sets the relative phase offset for the external baseband signal.

Parameters:

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

set_route(route: PathUniCodBbin) None[source]
# [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.

Parameters:

route – A | B| AB

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

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

Parameters:

state – 1 | ON | 0| OFF

Cloning the Group

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

Subgroups