![background image](http://html1.mh-extra.com/html/aim/afdx-arinc-664/afdx-arinc-664_reference-manual_2871730197.webp)
Reference Manual AFDX / ARINC 664 Application Interface Library
185
Section 4 – Function Reference: Receiver Functions
4
4
.
.
4
4
.
.
3
3
.
.
4
4
F
F
d
d
x
x
C
C
m
m
d
d
M
M
o
o
n
n
Q
Q
u
u
e
e
u
u
e
e
R
R
e
e
a
a
d
d
Prototype:
AiReturn FdxCmdMonQueueRead ( AiUInt32 ul_Handle,
AiUInt32 ul_QueueId,
const TY_FDX_MON_QUEUE_READ_IN
*px_QueueReadIn,
TY_FDX_MON_QUEUE_READ_OUT
*px_QueueReadOut);
Driver Command:
FDX_MON_QUEUE_READ
(0x00008097)
Purpose:
This function is used to read Entries of a chronological capturing queue to a provided buffer.
For this read function only the number of Entries to be read is specified. The reading start
position is administrated internal to the target. The start position can by identified and modified
by the functions
and
Additional
processing, for accessing the Frame Header data via the
TY_FDX_FRAME_BUFFER_HEADER
structure, must be done via
FdxProcessMonQueue
function
.
Note: Data, read via
FdxCmdMonQueueRead,
can be directly used for Replay via the
FdxCmdTxQueueWrite
function, if the corresponding Transmit Port has been configured for
Replay.
Input:
AiUInt32 ul_QueueId
Queue Identifier. Valid Queue Identifiers are obtained via the
FdxCmdMonQueueControl
command.
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
M
M
O
O
N
N
_
_
Q
Q
U
U
E
E
U
U
E
E
_
_
R
R
E
E
A
A
D
D
_
_
I
I
N
N
*
*
p
p
x
x
_
_
Q
Q
u
u
e
e
u
u
e
e
R
R
e
e
a
a
d
d
I
I
n
n
Pointer to Queue Read command parameter
typedef struct {
AiUInt32
ul_EntryCount;
AiUInt32
ul_ReadQualifier;
AiUInt32
ul_MaxReadBytes;
}
TY_FDX_MON_QUEUE_READ_IN;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
E
E
n
n
t
t
r
r
y
y
C
C
o
o
u
u
n
n
t
t
,
,
Number of Entries to read.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
R
R
e
e
a
a
d
d
Q
Q
u
u
a
a
l
l
i
i
f
f
i
i
e
e
r
r
This is a qualifier, indicating which part of the Entry should be read.
Value:
Description:
FDX_MON_READ_FULL
Read the full entry
FDX_MON_READ_HEADER
Read only the fixed header
FDX_MON_READ_DATA
Read only the data, starting with the MAC Frame
Summary of Contents for AFDX / ARINC 664
Page 2: ......