MIL-STD-1553 Reference Manual
Chapter 9 – Bus Monitor Functions
9.1.26 ApiCmdDataQueueOpen
Prototype:
ApiCmdDataQueueOpen( AiUInt32 ul_ModuleHandle, TY_API_DATA_QUEUE *px_Queue );
Driver Command:
none
Purpose:
This function is used to create a data queue on the Application Support Processor
(ASP). If the function is applied to a Remote PC (ANS Environment), the remote
Buffer Mechanism can be defined. If the function is applied to a Local Device, the
remote related Parameters are ignored by the function.
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
*
*
p
p
x
x
_
_
Q
Q
u
u
e
e
u
u
e
e
Pointer to the TY_API_DATA_QUEUE structure
typedef struct ty_api_data_queue_spec
{
AiUChar auc_FileName[256];
AiUInt32 ul_MemSize;
void *pv_Handle;
} TY_API_DATA_QUEUE_SPEC;
typedef struct ty_api_data_queue
{
AiUInt8 uc_Id;
AiUInt8 uc_LocalBufferType;
AiUInt8 uc_RemoteBufferType;
AiUInt8 uc_Padding1;
AiUInt16 uw_ASPQueueSize;
AiUInt16 uw_ExecutionKey;
TY_API_DATA_QUEUE_SPEC x_LocalSpec;
TY_API_DATA_QUEUE_SPEC x_RemoteSpec;
} TY_API_DATA_QUEUE;
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
-
-
>
>
u
u
c
c
_
_
I
I
d
d
Unique Queue Id representing the data queue to be opened
API_DATA_QUEUE_ID_BM_REC_BIU1
API_DATA_QUEUE_ID_BM_REC_BIU2
API_DATA_QUEUE_ID_BM_REC_BIU3
API_DATA_QUEUE_ID_BM_REC_BIU4
Generic Data Queue for ASP data.
APX and ACX cards only.
API_DATA_QUEUE_ID_MIL_SCOPE
MILScope Recording Queue.
APX and ACX cards with MILScope only.
API_DATA_QUEUE_ID_BM_REC_BIU5
API_DATA_QUEUE_ID_BM_REC_BIU6
API_DATA_QUEUE_ID_BM_REC_BIU7
API_DATA_QUEUE_ID_BM_REC_BIU8