TypePy
SCPI Command :
SBUS<*>:SWIRe:FRAMe<*>:TYPE
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(serialBus=SerialBus.Default, frame=Frame.Default) FrameType[source]
# SBUS<*>:SWIRe:FRAMe<*>:TYPE value: enums.FrameType = driver.sbus.swire.frame.typePy.get(serialBus = repcap.SerialBus.Default, frame = repcap.Frame.Default)
Returns the type of the specified decoded frame.
- 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:
frame_type: DATA | TCOD | FCT | NULL | EOP | EEP | BADX
DATA: Data frame
TCOD: Time-code frame
FCT: Flow control token
NULL: Null symbol
EOP: End of packet
EEP: Error end of packet
BADX: Illegal escape code