194
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Receiver Functions
4
4
.
.
4
4
.
.
3
3
.
.
7
7
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
S
S
t
t
a
a
t
t
u
u
s
s
Prototype:
AiReturn FdxCmdMonQueueStatus (
AiUInt32 ul_Handle,
AiUInt32 ul_QueueId,
TY_FDX_MON_QUEUE_ STATUS_OUT
*px_QueueStatusOut );
Driver Command:
FDX_MON_QUEUE_STATUS
Purpose:
This function shows the status for a monitor capture queue of a receiver port.
This function is applicable for capture control modes single and continuous (no recording).
Input:
AiUInt32 ul_QueueId
Queue Identifier. Valid Queue Identifiers are get via the
FdxCmdMonQueueControl
command.
Output:
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
_
_
S
S
T
T
A
A
T
T
U
U
S
S
_
_
O
O
U
U
T
T
*
*
p
p
x
x
_
_
Q
Q
u
u
e
e
u
u
e
e
S
S
t
t
a
a
t
t
u
u
s
s
O
O
u
u
t
t
Pointer to structure of output data
typedef struct {
TY_FDX_E_MON_STATUS
e_Status;
AiUInt32
ul_FramesToRead;
AiUInt32
ul_BytesToRead;
}
TY_FDX_MON_QUEUE_STATUS_OUT;
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
E
E
_
_
M
M
O
O
N
N
_
_
S
S
T
T
A
A
T
T
U
U
S
S
e
e
_
_
S
S
t
t
a
a
t
t
u
u
s
s
Reflects the actual status of the Monitor Queue.
Define
Description
FDX_MON_STAT_EMPTY
The Queue is empty
FDX_MON_STAT_ FILLED
There are frames to read
FDX_MON_STAT_ FULL
The queue is full. In case of a continuous capture queue
data shall be read immediately to prevent overflow.
FDX_MON_STAT_ OVERFLOW This is only applicable for continuous capture mode. The
internal receiver task was not able to write available data to
the queue.
FDX_MON_STAT_ ERROR
Any kind of Capture queue Error.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
F
F
r
r
a
a
m
m
e
e
s
s
T
T
o
o
R
R
e
e
a
a
d
d
Returns number of Frames actually in Queue to read out.