Diagnostic SpaceWire Interface
EtherSpaceLink family User Manual
17.
6
.1
0
.
EtherSpaceLink_set_receive_timeout()
S
ynops
i
s
void EtherSpaceLink_set_receive_timeout ( EtherSpaceLink DSI_unit,
int ms
)
D
esc
ri
pt
i
on
EtherSpaceLink_set_receive_timeout()
s
et
s
t
h
e
m
a
x
i
mum
p
e
ri
o
d
t
ha
t
a
n
EtherSpaceLink_read_packet()
c
omm
a
n
d w
i
ll
wa
i
t
f
o
r
da
t
a
be
f
o
r
e
r
etu
r
n
i
n
g
.
Wh
en t
h
e
t
i
meout ex
p
ir
e
s
,
t
h
e
EtherSpaceLink_read_packet()
c
omm
a
n
d w
i
ll
r
etu
r
n
w
i
t
h as
mu
ch da
t
a
as
i
t
has
r
e
c
e
i
ve
d
, i
f a
n
y
.
N
ote
:
t
h
i
s
i
s
t
h
e m
a
x
i
mum
p
e
ri
o
d
o
f wa
i
t
i
n
g
af
te
r
t
h
e l
as
t
r
e
c
e
i
ve
d da
t
a
,
not
a d
el
ay f
r
om
i
ss
u
i
n
g
t
h
e
EtherSpaceLink_read_packet()
c
omm
a
n
d
.
I
nput p
ara
mete
r
s
DSI_unit
t
h
e
ha
n
d
le
r
etu
r
ne
d
b
y a s
u
cc
e
ssf
ul
EtherSpaceLink_open()
c
omm
a
n
d
.
ms
t
h
e t
i
meout
p
e
ri
o
d
i
n m
i
ll
i
-s
e
c
on
ds
.
Retu
r
ns
N
one
E
xa
mple
Th
i
s f
un
c
t
i
on
ca
ll
ca
u
s
e
s f
utu
r
e
EtherSpaceLink_read_packet()
ca
ll
s
to
r
etu
r
n
pa
r
t
i
a
l
r
e
c
e
i
ve
d pack
et
s af
te
r
500 m
s
,
even
i
f a
n
EtherSpaceLink_EOP
o
r
EtherSpaceLink_EEP
te
r
m
i
n
a
to
r
has
not been
r
e
c
e
i
ve
d a
t t
ha
t t
i
me.
EtherSpaceLink_set_receive_timeout ( DSI_unit, 500);
4Links Limited
www.4Links.co.uk
[email protected]
page 78 of 130
T +44 1908 642001; F +44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley Park