Oneweb#

SCPI Commands :

[SOURce<HW>]:BB:ONEWeb:CMOD
[SOURce<HW>]:BB:ONEWeb:DUPLexing
[SOURce<HW>]:BB:ONEWeb:LINK
[SOURce<HW>]:BB:ONEWeb:PRESet
[SOURce<HW>]:BB:ONEWeb:SLENgth
[SOURce<HW>]:BB:ONEWeb:STATe
Commands in total: 408
Subgroups: 14
Direct child commands: 6
get_cmod ( ) → OneWebConfMode
set_cmod ( config_mode: OneWebConfMode ) → None
# [SOURce<HW>]:BB:ONEWeb:CMOD
# get:
value: enums.OneWebConfMode = driver.source.bb.oneweb.get_cmod()
# set:
driver.source.bb.oneweb.set_cmod(config_mode = enums.OneWebConfMode.PREDefined)

Sets the configuration mode.

Parameters:

config_mode – PREDefined | USER

get_duplexing ( ) → OneWebDuplexModeRange
# [SOURce<HW>]:BB:ONEWeb:DUPLexing
value: enums.OneWebDuplexModeRange = driver.source.bb.oneweb.get_duplexing()

Queries the duplexing mode.

Returns:

duplexing: FDD

get_link ( ) → UpDownDirection
set_link ( link: UpDownDirection ) → None
# [SOURce<HW>]:BB:ONEWeb:LINK
# get:
value: enums.UpDownDirection = driver.source.bb.oneweb.get_link()
# set:
driver.source.bb.oneweb.set_link(link = enums.UpDownDirection.DOWN)

Sets the transmission direction.

Parameters:

link – UP | DOWN

preset ( ) → None
preset_with_opc ( opc_timeout_ms: int = -1 ) → None
# [SOURce<HW>]:BB:ONEWeb:PRESet
driver.source.bb.oneweb.preset()
driver.source.bb.oneweb.preset_with_opc(opc_timeout_ms = 3000)

Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:ONEWeb:STATe.

preset_with_opc() does the same as preset(), but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout to set the timeout value.

Parameters:

opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.

get_slength ( ) → int
set_slength ( slength: int ) → None
# [SOURce<HW>]:BB:ONEWeb:SLENgth
# get:
value: int = driver.source.bb.oneweb.get_slength()
# set:
driver.source.bb.oneweb.set_slength(slength = 1)

Sets the sequence length of the signal in number of frames. The signal is calculated in advance and output in the arbitrary waveform generator. The maximum number of frames is calculated as follows: Max. No. of Frames = Arbitrary waveform memory size/(sampling rate x 10 ms) .

Parameters:

slength – integer

get_state ( ) → bool
set_state ( one_web_state: bool ) → None
# [SOURce<HW>]:BB:ONEWeb:STATe
# get:
value: bool = driver.source.bb.oneweb.get_state()
# set:
driver.source.bb.oneweb.set_state(one_web_state = False)

Activates the standard.

Parameters:

one_web_state – 1 | ON | 0| OFF

Cloning the Group

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

Subgroups