Diagnostic SpaceWire Interface
EtherSpaceLink family User Manual
17.
6
.
2
4.
EtherSpaceLink_set_active_link()
S
ynops
i
s
int EtherSpaceLink_set_active_link ( EtherSpaceLink DSI_unit,
int port_number
)
D
esc
ri
pt
i
on
EtherSpaceLink_set_active_link()
s
ele
c
t
s
t
h
e
ac
t
i
ve
p
o
r
t on
a
n
E
t
h
e
r
S
pac
eL
i
n
k
un
i
t.
Th
e
ac
t
i
ve
p
o
r
t
is
t
h
e one u
s
e
d
f
o
r
EtherSpaceLink_write_packet()
o
p
e
r
a
t
i
on
s,
a
s
w
ell
a
s
w
i
t
h
f
un
c
t
i
on
s s
u
ch a
s
EtherSpaceLink_set_speed()
a
n
d
EtherSpaceLink_set_mode()
.
P
r
ev
i
ou
s
l
y-
s
ele
c
te
d
p
o
r
t
s
on
a
DS
I
o
r
S
RR
un
i
t
c
e
a
s
e to be u
s
e
d
f
o
r
ac
t
i
ve t
r
a
n
s
m
issi
on
s,
but
r
em
a
i
n
p
o
w
e
r
e
d
u
p a
n
d
capa
ble o
f
r
e
c
e
i
v
i
n
g
S
pac
e
W
ir
e t
r
aff
i
c
o
r
e
rr
o
r r
e
p
o
r
t
s,
a
n
d
t
h
e
r
e
f
o
r
e
d
o not nee
d
to be
dis
a
ble
d
be
f
o
r
e
a
ne
w
one
is
ac
t
i
v
a
te
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
ss
f
ul
EtherSpaceLink_open()
c
omm
a
n
d
.
port_number
t
h
e numbe
r
o
f
t
h
e
p
o
r
t to be m
a
d
e
ac
t
i
ve.
Th
e
r
e
q
ue
s
te
d
p
o
r
t
s
h
oul
d
be
i
n t
h
e
r
a
n
g
e
1
to t
h
e numbe
r
o
f p
o
r
t
s
on t
h
e un
i
t.
Retu
r
ns
0
R
e
q
ue
s
t
s
u
cc
e
ss
f
ull
y
s
ent
-
1
A
n e
rr
o
r
o
cc
u
rr
e
d
E
xa
mple
EtherSpaceLink DSI_unit;
DSI_unit = EtherSpaceLink_open ( "192.168.3.40" );
EtherSpaceLink_set_active_link ( DSI_unit, 4 );
4Links Limited
www.4Links.co.uk
[email protected]
page 101 of 130
T +44 1908 642001; F +44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley Park