EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdreplaystatus

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
420
420
Chapter 10 Replay Functions
10.1.4 ApiCmdReplayStatus
Prototype:
AiInt16 ApiCmdReplayStatus ( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
TY_API_REP_STATUS *prep );
Driver Command:
API_REP_STATUS_READ (0x45)
Purpose:
This function is used to read the Replay Status Information. The initial value of
parameter rpi_cnt indicates the amount of Half Buffer Transmitted Interrupts required
for writing the requested Replay file size (refer to parameter ‘fsize’ of library function
ApiCmdReplayIni).
I
I
n
n
p
p
u
u
t
t
n
n
o
o
n
n
e
e
O
O
u
u
t
t
p
p
u
u
t
t
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
*
*
p
p
r
r
e
e
p
p
Replay Status parameter
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
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
Actual value of the Half Buffer Transmitted Interrupt counter (incremented each time a Half
Buffer Transmitted Interrupt occurs)
When the rpi_cnt value is incremented new Replay datas should be reloaded to the Shared
RAM and should be copied from the Shared RAM to the Global RAM of the AIM board area
using the library function ApiWriteRepData.

Table of Contents

Other manuals for Aim MIL-STD-1553