State

SCPI Command :

BUS<*>:MDIO:WORD<*>:STATe
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default, word=Word.Default) BusMdioWordState[source]
# BUS<*>:MDIO:WORD<*>:STATe
value: enums.BusMdioWordState = driver.bus.mdio.word.state.get(bus = repcap.Bus.Default, word = repcap.Word.Default)

Returns the state of the frame in the present acquisition of the selected serial bus.

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

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

Returns:

state: OK | UNSYN | UNSYncronized | OPCO | TA_ERROR | INComplete | SHORT | SHORt

  • OK: No error detected

  • UNSYN = UNSYncronized: UNSYncronized happens when bits are found, but they are not correlated with any synchronization sequence. We don’t know what these bits are, but they are there. These bits receive a flag, but they are not decoded.

  • OPCO: OPcode Error

  • TA_ERROR: Tirnaround time error

  • INComplete: Incomplete Frame

  • SHORT = SHORt: Length Error