Loop

SCPI Commands :

SEQuence:ITEM:LOOP:TYPE
SEQuence:ITEM:LOOP:VARiable
class LoopCls[source]

Loop commands group definition. 6 total commands, 1 Subgroups, 2 group commands

get_type_py() LoopType[source]
# SCPI: SEQuence:ITEM:LOOP:TYPE
value: enums.LoopType = driver.sequence.item.loop.get_type_py()

Sets how the loop repetition is defined.

return:

type_py: FIXed| VARiable

get_variable() str[source]
# SCPI: SEQuence:ITEM:LOOP:VARiable
value: str = driver.sequence.item.loop.get_variable()

Sets a loop variable.

return:

variable: string

set_type_py(type_py: LoopType) None[source]
# SCPI: SEQuence:ITEM:LOOP:TYPE
driver.sequence.item.loop.set_type_py(type_py = enums.LoopType.FIXed)

Sets how the loop repetition is defined.

param type_py:

FIXed| VARiable

set_variable(variable: str) None[source]
# SCPI: SEQuence:ITEM:LOOP:VARiable
driver.sequence.item.loop.set_variable(variable = 'abc')

Sets a loop variable.

param variable:

string

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.sequence.item.loop.clone()

Subgroups