Diagnostic SpaceWire Interface
EtherSpaceLink family User Manual
17.
6
.
23
.
EtherSpaceLink_get_number_of_links()
S
ynops
i
s
int EtherSpaceLink_get_number_of_links ( EtherSpaceLink DSI_unit
)
D
esc
ri
pt
i
on
EtherSpaceLink_get_number_of_links()
d
ete
r
m
i
ne
s
h
o
w
m
a
n
y
S
pac
e
W
ir
e
p
o
r
t
s
(
i
.e.
c
onne
c
to
rs
)
a
r
e
p
r
e
s
ent on t
h
e un
i
t.
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
ss
f
ul
EtherSpaceLink_open()
c
omm
a
n
d
.
Retu
r
ns
≥
1
Th
e numbe
r
o
f p
o
r
t
s
on t
h
is
un
i
t
-
1
A
n e
rr
o
r
o
cc
u
rr
e
d
Note
Be
awa
r
e t
ha
t
EtherSpaceLink_get_number_of_links()
s
h
oul
d
onl
y
be
ca
lle
d
a
t t
h
e
s
t
a
r
t o
f
a
n
A
P
I
p
r
o
gr
a
m
,
be
f
o
r
e t
h
e S
pac
e
W
ir
e l
i
n
k
(
s
)
a
r
e en
a
ble
d
. See
s
e
c
t
i
on
,
E
xa
mple
int Nlinks;
EtherSpaceLink DSI_unit;
DSI_unit = EtherSpaceLink_open ( "192.168.3.40" );
Nlinks = EtherSpaceLink_get_number_of_links ( DSI_unit );
4Links Limited
www.4Links.co.uk
[email protected]
page 100 of 130
T +44 1908 642001; F +44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley Park