Code

SCPI Command :

SBUS<*>:QSPI:OPCode:ITEM<*>:CODE
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(serialBus=SerialBus.Default, item=Item.Default) int[source]
# SBUS<*>:QSPI:OPCode:ITEM<*>:CODE
value: int = driver.sbus.qspi.opCode.item.code.get(serialBus = repcap.SerialBus.Default, item = repcap.Item.Default)

Sets the opcode value.

Parameters:
  • serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)

  • item – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Item’)

Returns:

op_code: 0 to 255

set(op_code: int, serialBus=SerialBus.Default, item=Item.Default) None[source]
# SBUS<*>:QSPI:OPCode:ITEM<*>:CODE
driver.sbus.qspi.opCode.item.code.set(op_code = 1, serialBus = repcap.SerialBus.Default, item = repcap.Item.Default)

Sets the opcode value.

Parameters:
  • op_code – 0 to 255

  • serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)

  • item – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Item’)