Clipping#

SCPI Commands :

[SOURce<HW>]:BB:C2K:CLIPping:LEVel
[SOURce<HW>]:BB:C2K:CLIPping:MODE
[SOURce<HW>]:BB:C2K:CLIPping:STATe
Commands in total: 3
Subgroups: 0
Direct child commands: 3
get_level ( ) → int
set_level ( level: int ) → None
# [SOURce<HW>]:BB:C2K:CLIPping:LEVel
# get:
value: int = driver.source.bb.c2K.clipping.get_level()
# set:
driver.source.bb.c2K.clipping.set_level(level = 1)

The command sets the limit for level clipping (Clipping) . This value indicates at what point the signal is clipped. It is specified as a percentage, relative to the highest level. 100% indicates that clipping does not take place. Level clipping is activated with the method RsSmw.source.bb.c2K.clipping.state()

Parameters:

level – integer Range: 1 PCT to 100

get_mode ( ) → ClipMode
set_mode ( mode: ClipMode ) → None
# [SOURce<HW>]:BB:C2K:CLIPping:MODE
# get:
value: enums.ClipMode = driver.source.bb.c2K.clipping.get_mode()
# set:
driver.source.bb.c2K.clipping.set_mode(mode = enums.ClipMode.SCALar)

The command sets the method for level clipping (Clipping) .

Parameters:

mode – VECTor | SCALar VECTor The reference level is the amplitude i+jq SCALar The reference level is the absolute maximum of the I and Q values.

get_state ( ) → bool
set_state ( state: bool ) → None
# [SOURce<HW>]:BB:C2K:CLIPping:STATe
# get:
value: bool = driver.source.bb.c2K.clipping.get_state()
# set:
driver.source.bb.c2K.clipping.set_state(state = False)

The command activates level clipping (Clipping) . The value is defined with the method RsSmw.source.bb.c2K.clipping.level() , the mode of calculation with the method RsSmw.source.bb.c2K.clipping.mode() .

Parameters:

state – 1 | ON | 0| OFF