EtherSpaceLink-RG408
EtherSpaceLink family User Manual
14.
6
.9.
EtherSpaceLink_set_receive_timeout()
S
ynops
i
s
void EtherSpaceLink_set_receive_timeout ( EtherSpaceLink ESL_unit,
int ms
)
D
esc
ri
pt
i
on
EtherSpaceLink_set_receive_timeout()
sets
t
h
e
m
a
xi
m
u
m
p
e
ri
o
d
t
ha
t
a
n
EtherSpaceLink_read_packet()
c
o
mm
a
nd
w
i
ll w
a
i
t
f
o
r
d
a
t
a
be
f
o
r
e
r
et
u
r
n
i
n
g
.
Wh
en t
h
e
t
i
me
ou
t e
x
p
ir
es
,
t
h
e
EtherSpaceLink_read_packet()
c
o
mm
a
nd
w
i
ll
r
et
u
r
n
w
i
t
h a
s m
u
ch
d
a
t
a
a
s
i
t
ha
s
r
e
c
e
iv
ed
, i
f a
n
y
.
N
o
te: t
h
i
s
i
s t
h
e m
a
xi
m
u
m
p
e
ri
o
d
o
f
w
a
i
t
i
n
g
af
te
r
t
h
e
l
a
st
r
e
c
e
iv
ed d
a
t
a
,
n
o
t
a
de
l
a
y
f
r
o
m
i
ss
u
i
n
g
t
h
e
EtherSpaceLink_read_packet()
c
o
mm
a
nd.
I
nput p
ara
mete
r
s
ESL_unit
t
h
e
ha
nd
l
e
r
et
u
r
ned b
y
a
s
u
cc
ess
f
ul
EtherSpaceLink_open()
c
o
mm
a
nd.
ms
t
h
e t
i
me
ou
t
p
e
ri
o
d
i
n m
i
ll
i
-
se
c
o
nds.
Retu
r
ns
N
o
ne
E
xa
mple
Th
i
s
f
u
n
c
t
i
o
n
ca
ll
ca
u
ses
f
u
t
u
r
e
EtherSpaceLink_read_packet()
ca
ll
s t
o
r
et
u
r
n
p
a
r
t
i
a
l
r
e
c
e
iv
ed
p
ac
k
ets
af
te
r
5
00
ms
,
e
v
en
i
f a
n
EtherSpaceLink_EOP
o
r
EtherSpaceLink_EEP
te
r
m
i
n
a
t
o
r
ha
s n
o
t been
r
e
c
e
iv
ed
a
t t
ha
t t
i
me.
EtherSpaceLink_set_receive_timeout ( ESL_unit, 500);
4Links Limited
www.4Links.co.uk
[email protected]
page 63 of 110
T +44 1908 642001; F +44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley Park