MIL-STD-1553 Reference Manual
Chapter 9 – Bus Monitor Functions
9.1.24 ApiCmdDataQueueClose
Prototype:
ApiCmdDataQueueClose( AiUInt32 ul_ModuleHandle,
TY_API_DATA_QUEUE_CLOSE *px_QueueInfo );
Driver Command:
none
Purpose:
This function is used to close a previously created data queue.
I
I
n
n
p
p
u
u
t
t
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
D
D
A
A
T
T
A
A
_
_
Q
Q
U
U
E
E
U
U
E
E
_
_
C
C
L
L
O
O
S
S
E
E
*
*
p
p
x
x
_
_
Q
Q
u
u
e
e
u
u
e
e
I
I
n
n
f
f
o
o
Pointer to the TY_API_DATA_QUEUE structure
typedef struct ty_api_data_queue_close
{
AiUInt8 uc_Id;
} TY_API_DATA_QUEUE_CLOSE;
A
A
i
i
U
U
I
I
n
n
t
t
8
8
p
p
x
x
_
_
Q
Q
u
u
e
e
u
u
e
e
I
I
n
n
f
f
o
o
-
-
>
>
u
u
c
c
_
_
I
I
d
d
Unique Queue Id representing the data queue to be closed
See description of the parameter px_Queue->uc_Id in the function
ApiCmdDataQueueOpen.
Return Value
All API functions return API_OK if no error occurred. If the return value is not
equal to API_OK the function ApiGetErrorDescription can be used to obtain an
error description.