State

SCPI Command :

[SOURce<HW>]:BB:MCCW:CARRier:STATe
class StateCls[source]

State commands group definition. 1 total commands, 0 Subgroups, 1 group commands

class StateStruct[source]

Response structure. Fields:

  • Carrier_Index: int: integer Range: 0 to lastCarrier

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

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

Switches the selected carrier on or off.

return

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

set(carrier_index: int, state: bool) None[source]
# SCPI: [SOURce<HW>]:BB:MCCW:CARRier:STATe
driver.source.bb.mccw.carrier.state.set(carrier_index = 1, state = False)

Switches the selected carrier on or off.

param carrier_index

integer Range: 0 to lastCarrier

param state

1| ON| 0| OFF