Carrier

SCPI Commands :

[SOURce<HW>]:BB:MCCW:CARRier:COUNt
[SOURce<HW>]:BB:MCCW:CARRier:PHASe
[SOURce<HW>]:BB:MCCW:CARRier:POWer
[SOURce<HW>]:BB:MCCW:CARRier:SPACing
[SOURce<HW>]:BB:MCCW:CARRier:STATe
Commands in total: 8
Subgroups: 1
Direct child commands: 5
class PhaseStruct[source]

Structure for reading output parameters. Fields:

  • Carrier_Index: int: integer Range: 0 to lastCarrier

  • Phase: float: float Range: 0 to 359.99, Unit: DEG

class PowerStruct[source]

Structure for reading output parameters. Fields:

  • Carrier_Index: int: integer Range: 0 to lastCarrier

  • Power: float: float Range: -80 to 0

class StateStruct[source]

Structure for reading output parameters. Fields:

  • Carrier_Index: int: integer Range: 0 to lastCarrier

  • State: bool: 1 | ON | 0| OFF

get_count() int[source]
# [SOURce<HW>]:BB:MCCW:CARRier:COUNt
value: int = driver.source.bb.mccw.carrier.get_count()

Sets the number of carriers in the multi carrier CW signal.

Returns:

count: integer Range: 1 to 160001

get_phase() PhaseStruct[source]
# [SOURce<HW>]:BB:MCCW:CARRier:PHASe
value: PhaseStruct = driver.source.bb.mccw.carrier.get_phase()

For disabled optimization of the crest factor, sets the start phase of the selected carrier.

Returns:

structure: for return value, see the help for PhaseStruct structure arguments.

get_power() PowerStruct[source]
# [SOURce<HW>]:BB:MCCW:CARRier:POWer
value: PowerStruct = driver.source.bb.mccw.carrier.get_power()

Sets the power of the selected carrier.

Returns:

structure: for return value, see the help for PowerStruct structure arguments.

get_spacing() float[source]
# [SOURce<HW>]:BB:MCCW:CARRier:SPACing
value: float = driver.source.bb.mccw.carrier.get_spacing()

Sets the carrier spacing.

Returns:

spacing: float Value range depends on the available bandwidth and the number of carriers, see ‘Cross-reference between total bandwidth, carrier spacing, and number of carriers’. Range: 0 to depends on options, for example 120E6 (R&S SMW-B10)

get_state() StateStruct[source]
# [SOURce<HW>]:BB:MCCW:CARRier:STATe
value: StateStruct = driver.source.bb.mccw.carrier.get_state()

Switches the selected carrier on or off.

Returns:

structure: for return value, see the help for StateStruct structure arguments.

Cloning the Group

# Create a copy of the original group, that exists independently
carrier_copy = driver.source.bb.mccw.carrier.clone()

Subgroups