Skip to content

mbus A717 SubFrame At Index.vi


Description

The A717 SubFrame At Index is an easy function to extract ARINC 717 subframes or words out from ARINC 717 frames. This function uses the subframe size to parse multiple received ARINC 717 frames into subframes or words.

For example, in standard mode:

Considering the subframe size is equal to 64 words, received ARINC 717 frame shows:

ARINC 717 word # 12-bit word
Word #0 0x247 (1st sync word)
Word #1 0x000 (data 0)
Word #2 0x001 (data 1)
... ...
Word #63 0x03E (data 63)
Word #64 0x5B8 (2nd sync word)
Word #65 0x000 (data 0)
Word #66 0x001 (data 1)
... ...
Word #127 0x03E (data 63)
Word #128 0xA47 (3rd sync word)
Word #129 0x000 (data 0)
Word #130 0x001 (data 1)
... ...
Word #191 0x03E (data 63)
Word #192 0xDB8 (4th sync word)
Word #193 0x000 (data 0)
Word #194 0x001 (data 1)
... ...
Word #255 0x03E (data 63)

By using A717 SubFrame At Index in a loop, returned ARINC 717 subframes are:

Subframe #0 12-bit word
Word #0 0x247
Word #1 0x000
Word #2 0x001
... ...
Word #63 0x03E
Subframe #1 12-bit word
Word #0 0x5B8
Word #1 0x000
Word #2 0x001
... ...
Word #63 0x03E
Subframe #2 12-bit word
Word #0 0xA47
Word #1 0x000
Word #2 0x001
... ...
Word #63 0x03E
Subframe #3 12-bit word
Word #0 0xDB8
Word #1 0x000
Word #2 0x001
... ...
Word #63 0x03E


In raw mode:

When subframe size is equal to 1 word, the words output contains the 12-bit word at subFrameIndex.


Parameters  
error in in error conditions that occur before entering the function
subFrames in ARINC 717 subframes received
wordCount in number of ARINC 717 words received
subFrameSize in subframe size in number of words
subFrameIndex in start index of the ARINC 717 subframe to decode.
words out words contained in an ARINC 717 subframe
nextIndex out start index for the next ARINC 717 subframe
error out out error information
function return out function execution status

Availability

Available in Multibus VI 1.2 and later.

See Also

-

Example

_