Repetition

SCPI Command :

SBUS<*>:SPI:FORMat:FRAMe<*>:FLD<*>:REPetition
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) int[source]
# SBUS<*>:SPI:FORMat:FRAMe<*>:FLD<*>:REPetition
value: int = driver.sbus.spi.formatPy.frame.fld.repetition.get(serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default, field = repcap.Field.Default)

Sets the repetition count of the field. Setting the value to 0 indicates an unlimited repetition that continues until the end of the payload is reached.

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

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

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

Returns:

repetition: 0 to 65535

set(repetition: int, serialBus=SerialBus.Default, frame=Frame.Default, field=Field.Default) None[source]
# SBUS<*>:SPI:FORMat:FRAMe<*>:FLD<*>:REPetition
driver.sbus.spi.formatPy.frame.fld.repetition.set(repetition = 1, serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default, field = repcap.Field.Default)

Sets the repetition count of the field. Setting the value to 0 indicates an unlimited repetition that continues until the end of the payload is reached.

Parameters:
  • repetition – 0 to 65535

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

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

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