Software Library Reference Manual for VME 429 135
Section 6 - Receiver Functions
6.9 Api429RxReadActivity
P
P
r
r
o
o
t
t
o
o
t
t
y
y
p
p
e
e
:
:
AiUInt8 Api429RxReadActivity( AiUInt8 b_Module,
TY_API429_RX_ACTIVITY *pxActivity);
D
D
r
r
i
i
v
v
e
e
r
r
C
C
o
o
m
m
m
m
a
a
n
n
d
d
:
:
None
P
P
u
u
r
r
p
p
o
o
s
s
e
e
:
:
This function reads the activity information of the RX labels. Each time a label is
received the corresponding bit of the activitiy bit field is set.
The activity bit field is reset, when stopping and restarting the RX channel.
I
I
n
n
p
p
u
u
t
t
None
O
O
u
u
t
t
p
p
u
u
t
t
T
T
Y
Y
_
_
A
A
P
P
I
I
4
4
2
2
9
9
_
_
R
R
X
X
_
_
A
A
C
C
T
T
I
I
V
V
I
I
T
T
Y
Y
*
*
p
p
x
x
A
A
c
c
t
t
i
i
v
v
i
i
t
t
y
y
typedef struct
{
AiUInt32 ChannelActivity[32][8];
} TY_API429_RX_ACTIVITY;
C
C
h
h
a
a
n
n
n
n
e
e
l
l
A
A
c
c
t
t
i
i
v
v
i
i
t
t
y
y
Contains eight long words for each channel. The eight long words are a bitfield, that shows
for which labels data was received for a specific channel
Bit 31 … Bit 1 Bit 0
ChannelActivity[chn][0] Label 31 … Label 1 Label 0
ChannelActivity[chn][1] Label 63 … Label 33 Label 32
… … … …
ChannelActivity[chn][8] Label 255 ... Label 224 Label 223
R
R
e
e
t
t
u
u
r
r
n
n
V
V
a
a
l
l
u
u
e
e
Value Constant Description
0 API429_CMD_OK
Execution success
1 API429_CMD_ERR
Execution error