EasyManua.ls Logo

Aim MIL-STD-1553 - Apireadrecdata

Aim MIL-STD-1553
502 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MIL-STD-1553 Reference Manual
146
Chapter 3 System Functions
3.1.36 ApiReadRecData
Prototype:
AiInt16 ApiReadRecData ( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
TY_API_BM_REC *api_rec_stat, void *lpBuf,
AiUInt32 *lBytesRead );
Driver Command:
none
Purpose:
This function copies the 1553 MILBus data recorded by the Bus Monitor while in
Recording mode from the Bus Monitor Buffer Global RAM area into an application
buffer specified by the user. This application buffer can later be used for replay (see
System function ApiWriteRepData) or post-analysis.
Input
v
v
o
o
i
i
d
d
*
*
l
l
p
p
B
B
u
u
f
f
Pointer to application buffer area (used to store recording data)
Output
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
B
B
M
M
_
_
R
R
E
E
C
C
*
*
a
a
p
p
i
i
_
_
r
r
e
e
c
c
_
_
s
s
t
t
a
a
t
t
Recording status information structure.
typedef struct ty_api_bm_rec
{
AiUInt8 status;
AiUInt8 padding1;
AiUInt16 padding2;
AiUInt32 hfi_cnt;
AiUInt32 saddr;
AiUInt32 size;
} TY_API_BM_REC;
A
A
i
i
U
U
I
I
n
n
t
t
8
8
s
s
t
t
a
a
t
t
u
u
s
s
Bus Monitor Status
Value
Description
1
Bus Monitor halted
2
Bus Monitor busy
A
A
i
i
U
U
I
I
n
n
t
t
8
8
p
p
a
a
d
d
d
d
i
i
n
n
g
g
1
1
0 (Reserved)
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
p
p
a
a
d
d
d
d
i
i
n
n
g
g
2
2
0 (Reserved)

Table of Contents

Other manuals for Aim MIL-STD-1553