Ocns

SCPI Commands :

[SOURce<HW>]:BB:W3GPp:BSTation:OCNS:MODE
[SOURce<HW>]:BB:W3GPp:BSTation:OCNS:SEED
[SOURce<HW>]:BB:W3GPp:BSTation:OCNS:STATe
class OcnsCls[source]

Ocns commands group definition. 3 total commands, 0 Subgroups, 3 group commands

get_mode() RsSmbv.enums.OcnsMode[source]
# SCPI: [SOURce<HW>]:BB:W3GPp:BSTation:OCNS:MODE
value: enums.OcnsMode = driver.source.bb.w3Gpp.bstation.ocns.get_mode()

Selects the scenario for setting the OCNS channels. To activate the selected scenario, send the command [:SOURce<hw>]:BB:W3GPp:BSTation:OCNS:STATe.

return

mode: STANdard| HSDPa| HSDP2| M3I Four different OCNS scenarios are defined in the standard; one standard scenario, two scenarios for testing HSDPA channels and one for enhanced performance type 3i tests.

get_seed() int[source]
# SCPI: [SOURce<HW>]:BB:W3GPp:BSTation:OCNS:SEED
value: int = driver.source.bb.w3Gpp.bstation.ocns.get_seed()

In ‘3i’ OCNS mode, sets the seed for both the random processes, the power control simulation process and the process controlling the switch over of the channelization codes.

return

seed: integer Range: 0 to 65535

get_state() bool[source]
# SCPI: [SOURce<HW>]:BB:W3GPp:BSTation:OCNS:STATe
value: bool = driver.source.bb.w3Gpp.bstation.ocns.get_state()

Activates OCNS channels according to the scenario selected with the command [:SOURce<hw>]:BB:W3GPp:BSTation:OCNS:MODE.

return

state: 1| ON| 0| OFF

set_mode(mode: RsSmbv.enums.OcnsMode) None[source]
# SCPI: [SOURce<HW>]:BB:W3GPp:BSTation:OCNS:MODE
driver.source.bb.w3Gpp.bstation.ocns.set_mode(mode = enums.OcnsMode.HSDP2)

Selects the scenario for setting the OCNS channels. To activate the selected scenario, send the command [:SOURce<hw>]:BB:W3GPp:BSTation:OCNS:STATe.

param mode

STANdard| HSDPa| HSDP2| M3I Four different OCNS scenarios are defined in the standard; one standard scenario, two scenarios for testing HSDPA channels and one for enhanced performance type 3i tests.

set_seed(seed: int) None[source]
# SCPI: [SOURce<HW>]:BB:W3GPp:BSTation:OCNS:SEED
driver.source.bb.w3Gpp.bstation.ocns.set_seed(seed = 1)

In ‘3i’ OCNS mode, sets the seed for both the random processes, the power control simulation process and the process controlling the switch over of the channelization codes.

param seed

integer Range: 0 to 65535

set_state(state: bool) None[source]
# SCPI: [SOURce<HW>]:BB:W3GPp:BSTation:OCNS:STATe
driver.source.bb.w3Gpp.bstation.ocns.set_state(state = False)

Activates OCNS channels according to the scenario selected with the command [:SOURce<hw>]:BB:W3GPp:BSTation:OCNS:MODE.

param state

1| ON| 0| OFF