Data

SCPI Commands :

TEST:BB:DATA:FREQuency
TEST:BB:DATA:OFFTime
TEST:BB:DATA:ONTime
TEST:BB:DATA:RDELay
TEST:BB:DATA:STATe
TEST:BB:DATA:TYPE
Commands in total: 8
Subgroups: 2
Direct child commands: 6
get_frequency() int[source]
# TEST:BB:DATA:FREQuency
value: int = driver.test.bb.data.get_frequency()

Sets the clock frequency for the BER/BLER test generator.

Returns:

clock: integer Range: 100 to 1E8

get_off_time() int[source]
# TEST:BB:DATA:OFFTime
value: int = driver.test.bb.data.get_off_time()

Sets the on/off time of the data enable time interval of the BER/BLER test generator.

Returns:

off_time: integer Range: 0 to 4294967295, Unit: Bit

get_ontime() int[source]
# TEST:BB:DATA:ONTime
value: int = driver.test.bb.data.get_ontime()

Sets the on/off time of the data enable time interval of the BER/BLER test generator.

get_rdelay() int[source]
# TEST:BB:DATA:RDELay
value: int = driver.test.bb.data.get_rdelay()

For ‘External Restart = On, sets the delay time for the restart signal of the BER/BLER test generator.

Returns:

restart_delay: integer Range: 0 to 4294967295

get_state() bool[source]
# TEST:BB:DATA:STATe
value: bool = driver.test.bb.data.get_state()

Activates the test generator for the bit or block error rate measurement.

Returns:

state: 1 | ON | 0| OFF

get_type_py() BertTestMode[source]
# TEST:BB:DATA:TYPE
value: enums.BertTestMode = driver.test.bb.data.get_type_py()

Selects the type of error measurement.

Returns:

type_py: BER | BLER

set_frequency(clock: int) None[source]
# TEST:BB:DATA:FREQuency
driver.test.bb.data.set_frequency(clock = 1)

Sets the clock frequency for the BER/BLER test generator.

Parameters:

clock – integer Range: 100 to 1E8

set_off_time(off_time: int) None[source]
# TEST:BB:DATA:OFFTime
driver.test.bb.data.set_off_time(off_time = 1)

Sets the on/off time of the data enable time interval of the BER/BLER test generator.

Parameters:

off_time – integer Range: 0 to 4294967295, Unit: Bit

set_ontime(ontime: int) None[source]
# TEST:BB:DATA:ONTime
driver.test.bb.data.set_ontime(ontime = 1)

Sets the on/off time of the data enable time interval of the BER/BLER test generator.

Parameters:

ontime – integer Range: 0 to 4294967295, Unit: Bit

set_rdelay(restart_delay: int) None[source]
# TEST:BB:DATA:RDELay
driver.test.bb.data.set_rdelay(restart_delay = 1)

For ‘External Restart = On, sets the delay time for the restart signal of the BER/BLER test generator.

Parameters:

restart_delay – integer Range: 0 to 4294967295

set_state(state: bool) None[source]
# TEST:BB:DATA:STATe
driver.test.bb.data.set_state(state = False)

Activates the test generator for the bit or block error rate measurement.

Parameters:

state – 1 | ON | 0| OFF

set_type_py(type_py: BertTestMode) None[source]
# TEST:BB:DATA:TYPE
driver.test.bb.data.set_type_py(type_py = enums.BertTestMode.BER)

Selects the type of error measurement.

Parameters:

type_py – BER | BLER

Cloning the Group

# Create a copy of the original group, that exists independently
data_copy = driver.test.bb.data.clone()

Subgroups