Item

SCPI Commands :

DSRC:ITEM:BITS
DSRC:ITEM:DATA
DSRC:ITEM:DELete
DSRC:ITEM:PATTern
DSRC:ITEM:SELect
DSRC:ITEM:TYPE
class ItemCls[source]

Item commands group definition. 10 total commands, 2 Subgroups, 6 group commands

delete(delete: float) None[source]
# SCPI: DSRC:ITEM:DELete
driver.dsrc.item.delete(delete = 1.0)

Deletes the particular item.

param delete:

float

get_bits() float[source]
# SCPI: DSRC:ITEM:BITS
value: float = driver.dsrc.item.get_bits()

Sets the length of the selected item in bits.

return:

bits: float Range: 0 to 4096

get_data() str[source]
# SCPI: DSRC:ITEM:DATA
value: str = driver.dsrc.item.get_data()

Sets the user defined data pattern.

return:

data: string

get_pattern() ItemPattern[source]
# SCPI: DSRC:ITEM:PATTern
value: enums.ItemPattern = driver.dsrc.item.get_pattern()

Sets the data pattern of the selected item.

return:

pattern: ZERO| ONE| ALT| R2A| R2B| R3| R4A| R4B| R5| R7| R11| R13 ZERO|ONE Binary 0 and 1 ALT Variable bit strings (‘1010’) with alternating 0 and 1 and a maximum length of 999 bits R2A|R2B|R3|R4A|R4B|R5|R7|R11|R13 Barker codes

get_select() float[source]
# SCPI: DSRC:ITEM:SELect
value: float = driver.dsrc.item.get_select()

Selects the item to which the subsequent commands apply.

return:

select: float Item number within the range 1 to …:COUNt. For example, method RsPulseSeq.Sequence.Item.count. Range: 1 to 4096

get_type_py() ItemTypeB[source]
# SCPI: DSRC:ITEM:TYPE
value: enums.ItemTypeB = driver.dsrc.item.get_type_py()

Sets the data type of selected item.

return:

type_py: PATTern| PRBS| USER

set_bits(bits: float) None[source]
# SCPI: DSRC:ITEM:BITS
driver.dsrc.item.set_bits(bits = 1.0)

Sets the length of the selected item in bits.

param bits:

float Range: 0 to 4096

set_data(data: str) None[source]
# SCPI: DSRC:ITEM:DATA
driver.dsrc.item.set_data(data = 'abc')

Sets the user defined data pattern.

param data:

string

set_pattern(pattern: ItemPattern) None[source]
# SCPI: DSRC:ITEM:PATTern
driver.dsrc.item.set_pattern(pattern = enums.ItemPattern.ALT)

Sets the data pattern of the selected item.

param pattern:

ZERO| ONE| ALT| R2A| R2B| R3| R4A| R4B| R5| R7| R11| R13 ZERO|ONE Binary 0 and 1 ALT Variable bit strings (‘1010’) with alternating 0 and 1 and a maximum length of 999 bits R2A|R2B|R3|R4A|R4B|R5|R7|R11|R13 Barker codes

set_select(select: float) None[source]
# SCPI: DSRC:ITEM:SELect
driver.dsrc.item.set_select(select = 1.0)

Selects the item to which the subsequent commands apply.

param select:

float Item number within the range 1 to …:COUNt. For example, method RsPulseSeq.Sequence.Item.count. Range: 1 to 4096

set_type_py(type_py: ItemTypeB) None[source]
# SCPI: DSRC:ITEM:TYPE
driver.dsrc.item.set_type_py(type_py = enums.ItemTypeB.PATTern)

Sets the data type of selected item.

param type_py:

PATTern| PRBS| USER

Cloning the Group

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

Subgroups