State

SCPI Command :

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

Returns the frame state of the selected word in the current acquisition.

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 | ERR_PREAMBLE | ERR_LENGTH | UNCorrelated | INComplete

  • OK: No error detected

  • ERR_PREAMBLE: Error in the preamble of the selected word

  • ERR_SFD: Error in the start frame delimiter (SFD) . The value of a correct SFD byte is 171. The SFD is transmitted LSB first.

  • ERR_LENGTH: Error in the number of bits in the selected word