Condition

SCPI Command :

BUS<*>:CMSB:FRAMe<*>:CELL<*>:CONDition
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default, busFrameNull=BusFrameNull.Default, busCellNull=BusCellNull.Default) str[source]
# BUS<*>:CMSB:FRAMe<*>:CELL<*>:CONDition
value: str = driver.bus.cmsb.frame.cell.condition.get(bus = repcap.Bus.Default, busFrameNull = repcap.BusFrameNull.Default, busCellNull = repcap.BusCellNull.Default)

Sets various operators for a cell, to identify, e.g., mandatory values such as a CRC checksum or an ID, that help to identify a frame. The implemented conditions and functionalities are the ‘equal’ and ‘array’ operators. The numeric format of the condition needs to be set according to method RsRtx.bus.cmsb.frame.cell.formatPy.set() .

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

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

  • busCellNull – optional repeated capability selector. Default value: Nr0 (settable in the interface ‘Cell’)

set(condition: str, bus=Bus.Default, busFrameNull=BusFrameNull.Default, busCellNull=BusCellNull.Default) None[source]
# BUS<*>:CMSB:FRAMe<*>:CELL<*>:CONDition
driver.bus.cmsb.frame.cell.condition.set(condition = 'abc', bus = repcap.Bus.Default, busFrameNull = repcap.BusFrameNull.Default, busCellNull = repcap.BusCellNull.Default)

Sets various operators for a cell, to identify, e.g., mandatory values such as a CRC checksum or an ID, that help to identify a frame. The implemented conditions and functionalities are the ‘equal’ and ‘array’ operators. The numeric format of the condition needs to be set according to method RsRtx.bus.cmsb.frame.cell.formatPy.set() .

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

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

  • busCellNull – optional repeated capability selector. Default value: Nr0 (settable in the interface ‘Cell’)