Skip to main content

AFDX Selectors

Valid for: CANoe DE • CANoe4SW DE

Note

For programming examples, refer to the help pages: More information about A664Messages Versus A664Frames.

Quick Access

Selectors for Identification and Timing

KeywordDescriptiona664 Framea664 MessageTypeAccess Limitations
BAGBandwidth allocation GAP. Unit: milliseconds. Value range: 1 …128 (initialization value).xxbyteread-only<sup>3</sup>
DataComplete raw content of the object. Value range: Initialized with 0.xxbyte[]read-only
DIRDirection related to the corresponding event. Value range: Rx = 0 (default), Tx = 1.xxbyteread-only
DistanceMeasured timely distance between two AFDX messages on the same virtual link (VL). Unit: microseconds.xxwordread-only
ErrFlagError details for the received message. Value range: see table below.xxdwordread-only
IDThe message ID is derived from the address information.xxword-
LengthLength of the message object in bytes. Unit: bytes. Value range: 60 … 8192 + 42 + 1.xxwordread-only
msgChannelTransmission channel (output) or the channel which triggered an event handler. Value range: 1..16.xxword-
nameMessage name from an assigned database (DBC). Value range: \0 or valid name.xxchar[]read-only
SIMULATEDSpecifies whether the event was caused by your CANoe DE product or not. Value range: 0 (real event), 1 (simulated event).xxbyteread-only
SkewMaxMaximum timely difference between a transmission on line A and B. Unit: microseconds. Value range: 0 … 65635.xxdwordread-only<sup>3</sup>
timeTime stamp of the event. Unit: 10 µs.xxdwordread-only
time_nsTime stamp of the event. Unit: nanoseconds.xxint64read-only
TxCycleTransmission cycle of an AFDX message. Unit: Milliseconds.xdword-

Value Range ErrFlag

BitValueMeaning
01 (0x0001)Frame was received on line B (line information).
11 (0x0002)Frame is redundant; redundancy manager detected a valid redundancy condition.
21 (0x0004)Frame is an IP FRAGMENT.
31 (0x0008)Frame belongs to a service access point (SAP) connection.
41 (0x0010)Frame received on wrong line; receive line collides with MAC source address.
51 (0x0020)Frame is not a valid AFDX frame.
61 (0x0040)A wrong sequence number was received.
71 (0x0080)Redundancy error encountered; either a frame was lost or the time for Skew Max was exceeded.
81 (0x0100)Fragmentation / reassembly error; typically a fragment is missing or misordered.
91 (0x0200)Protocol decoding error detected (error on IP, UDP or SNMP level).
101 (0x0400)This is a reassembled packet (message).
111 (0x0800)Frame was checked by redundancy management.
121 (0x1000)A constant or value violates the AFDX recommendation.
131 (0x2000)Frame size does not match expected size as defined in database.
141 (0x4000)Packet is unknown (not defined in the database).
151 (0x8000)Frame was checked by integrity management.

Selectors on Ethernet Level

KeywordDescriptiona664 Framea664 MessageTypeAccess Limitations
AfdxSeqNrAFDX sequence number.xxbyteread-only
EthAdrDstDestination MAC address. Constructed from EthAdrDstConst and EthVlId.xxbyte[6]read-only<sup>1</sup>
EthAdrDstConstConstant part of destination MAC address.xxdword-
EthAdrSrcSource MAC address. Created from EthAdrSrcConst and IpAdrSrc.xxbyte[6]read-only<sup>1</sup>
EthAdrSrcConstConstant part of destination MAC address.xxbyte[3]-
EthUserIdIdentifies a specific address part of the source MAC address.xxword-
EthVlIdAFDX Virtual Link Identifier.xxwordread-only<sup>1</sup>

Selectors on IP Level

KeywordDescriptiona664 Framea664 MessageTypeAccess Limitations
IpLengthLength of an IP frame including 20 bytes of header information.xxwordread-only<sup>2</sup>
IpAdrDstIP destination address.xxdwordread-only<sup>5</sup>
IpAdrSrcIP source address.xxdwordread-only<sup>5</sup>
IpFragAllowedSet the fragmentation attribute for messages to be transmitted over a VL.xxbyteread-only<sup>4</sup>
IpPayloadIP payload area. Limited by IpLength.xbyte[]-
IpProtocolValue of IP protocol field.xbyte-
IpFragOffsetFragmentation offset.xword-
IpIsFragmentFragmentation attribute of frame.xword-

Selectors on UDP Level

KeywordDescriptiona664 Framea664 MessageTypeAccess Limitations
UdpDstPortUDP destination Port.xxwordread-only<sup>1</sup>
UdpLengthLength of the UDP payload (AfdxLength + 8).xxwordread-only<sup>2</sup>
UdpSrcPortUDP Source Port.xxwordread-only<sup>1</sup>

Selectors on AFDX Level

KeywordDescriptiona664 Framea664 MessageTypeAccess Limitations
AfdxPayloadPayload area of AFDX message.xxbyte[]-
AfdxLengthLength of the AFDX payload.xxwordread-only<sup>2</sup>
IntChkIntegrity check for VL.xxbyteread-only<sup>3</sup>
RMARedundancy management.xxbyteread-only<sup>3</sup>
LineSelectDetermine the used line A and/or B.xxbyteread-only<sup>3</sup>
MaxFrameSizeDefine the maximum frame size for a VL.xxdwordread-only<sup>3</sup>
SubVLNrSub VL number range.xxbyteread-only<sup>3</sup>
SubVLidUsed sub VL identifier.xxbyteread-only<sup>6</sup>

Read-Only Notes