EscParity
SCPI Command :
SBUS<*>:SWIRe:FRAMe<*>:ESCParity
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(serialBus=SerialBus.Default, frame=Frame.Default) SbusSwireFrameState[source]
# SBUS<*>:SWIRe:FRAMe<*>:ESCParity value: enums.SbusSwireFrameState = driver.sbus.swire.frame.escParity.get(serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default)
If the frame has the ESC field, the command returns the parity state of this field, which can take values of OK or PARity. See Figure ‘SpaceWire control characters’. If the frame has no ESC field, the command can return the states LENGth, AMBiguous or INComplete of the frame, as described below.
- 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’)
- Returns:
parity_escape: OK | PARity | LENGth | AMBiguous | INComplete
OK: The parity check for the ESC field passes.
PARity: The parity of the ESC field is not correct.
LENGth: Regardless of the ESC field, the length of the frame is not as expected, indicating an error.
AMBiguous: Regardless of the ESC field, the frame is ambiguous.
INComplete: Regardless of the ESC field, the frame is incomplete.