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

Structure for reading output parameters. Fields:

  • Carrier_Index: int: integer

  • Phase: float: float

class PowerStruct

Structure for reading output parameters. Fields:

  • Carrier_Index: int: integer

  • Power: float: float

class StateStruct

Structure for reading output parameters. Fields:

  • Carrier_Index: int: integer

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

get_count ( ) → int
# [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

get_phase ( ) → PhaseStruct
# [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<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<HW>]:BB:MCCW:CARRier:SPACing
value: float = driver.source.bb.mccw.carrier.get_spacing()

Sets the carrier spacing.

Returns:

spacing: Value range depends on the available bandwidth and the number of carriers, see ‘Cross-reference between total bandwidth, carrier spacing, and number of carriers’.

get_state ( ) → StateStruct
# [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