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: 30
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/external baseband signal. The offset affects the generated baseband signal.

Returns:

foffset: float Range: depends on the installed options , Unit: Hz E.g. -60 MHz to +60 MHz (base unit)

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()

Sets the recording duration for measuring the baseband input signal by executed method RsSmbv.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()

No help available

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.

Returns:

route: A

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. Note: Interdependencies The following functions cannot be activated simultaneously. They deactivate each other.

  • The internal baseband generator ([:SOURce<hw>]:BB:<DigStd>:STATe) and the external digital baseband input (method RsSmbv.source.bbin.state() )

  • The external digital baseband input (method RsSmbv.source.bbin.state() ) and digital output (method RsSmbv.source.iq.output.digital.state() ) because they share the same physical connectors (Dig I/Q and the HS Dig I/Q) .

  • The digital output (method RsSmbv.source.iq.output.digital.state() ) and the output of analog I/Q signals:

  • If [:SOURce<hw>]:IQ:SOURce BASeband, method RsSmbv.source.iq.state() + OUTPut<hw>:STATe or

  • method RsSmbv.source.iq.output.analog.state()

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/external baseband signal. The offset affects the generated baseband signal.

Parameters:

foffset – float Range: depends on the installed options , Unit: Hz E.g. -60 MHz to +60 MHz (base unit)

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)

Sets the recording duration for measuring the baseband input signal by executed method RsSmbv.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)

No help available

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.

Parameters:

route – A

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. Note: Interdependencies The following functions cannot be activated simultaneously. They deactivate each other.

  • The internal baseband generator ([:SOURce<hw>]:BB:<DigStd>:STATe) and the external digital baseband input (method RsSmbv.source.bbin.state() )

  • The external digital baseband input (method RsSmbv.source.bbin.state() ) and digital output (method RsSmbv.source.iq.output.digital.state() ) because they share the same physical connectors (Dig I/Q and the HS Dig I/Q) .

  • The digital output (method RsSmbv.source.iq.output.digital.state() ) and the output of analog I/Q signals:

  • If [:SOURce<hw>]:IQ:SOURce BASeband, method RsSmbv.source.iq.state() + OUTPut<hw>:STATe or

  • method RsSmbv.source.iq.output.analog.state()

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