EasyManua.ls Logo

Aim MIL-STD-1553 - Apiwriterepdata

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
148
Chapter 3 System Functions
3.1.37 ApiWriteRepData
Prototype:
AiInt16 ApiWriteRepData ( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
TY_API_REP_STATUS *api_rep_stat, void *lpBuf,
AiUInt32 *lBytesWritten );
Driver Command:
none
Purpose:
This function copies Bus Monitored recorded entries (previously copied to an
application buffer (see System function ApiReadRecData)) from an application buffer
into the Replay Buffer Global RAM area. The replay of this data can then be started
using the ApiCmdReplayStart function.
Input / Output
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
R
R
E
E
P
P
_
_
S
S
T
T
A
A
T
T
U
U
S
S
*
*
a
a
p
p
i
i
_
_
r
r
e
e
p
p
_
_
s
s
t
t
a
a
t
t
(
(
I
I
N
N
P
P
U
U
T
T
/
/
O
O
U
U
T
T
P
P
U
U
T
T
)
)
Replay status information structure.
typedef struct ty_api_rep_status
{
AiUInt8 status;
AiUInt8 padding1;
AiUInt16 padding2;
AiUInt32 rpi_cnt;
AiUInt32 saddr;
AiUInt32 size;
AiUInt32 entry_cnt;
} TY_API_REP_STATUS;
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
(
(
O
O
U
U
T
T
P
P
U
U
T
T
)
)
Replay Status
Value
Constant
Description
0
API_REP_HALTED
Replay halted
1
API_REP_BUSY
Replay 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)
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
r
r
p
p
i
i
_
_
c
c
n
n
t
t
(
(
O
O
U
U
T
T
P
P
U
U
T
T
)
)
Actual value of the Half Buffer Transmitted Interrupt counter (incremented each time a High
Speed Half Buffer Transmitted Interrupt occurs).
When the rpi_cnt value is incremented new Replay data given in parameter 'lpBuf' has been
reloaded to the Global RAM of the AIM board area.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
s
s
a
a
d
d
d
d
r
r
(
(
I
I
N
N
P
P
U
U
T
T
)
)
Start Address of the AIM board Replay buffer in the Global RAM area to copy the replay buffer
entries from the application buffer area (parameter 'lpBuf') to the Global RAM area of the AIM
board.
The value of the start address may be read with the function ApiCmdReplayStatus

Table of Contents

Other manuals for Aim MIL-STD-1553