[slinkelist] Ports parameter in AddDevice Method

Sonnie sonnie@casema.net
Wed, 15 Mar 2000 20:02:34 +0100


If I remember correctly for Port 7 you need to set BIT 11, so not number 11
(which would be ports: Slink 0,1 and 3)

so you are looking for:

dim lngPorts as long

lngPorts = 2048  '(Set BIT 11)

Hope  this helps....

Cheers,

Jeroen

-----Original Message-----
From: slinkelist-admin@nirvis.com [mailto:slinkelist-admin@nirvis.com]On
Behalf Of George Tang
Sent: Wednesday, March 15, 2000 6:44 PM
To: 'David McConnell'; 'slinkelist@nirvis.com'
Subject: RE: [slinkelist] Ports parameter in AddDevice Method


I don't know the answer.  But from what you just described, it sounds like a
bit wise operation:
0	00000000
1	00000001
2	00000010
4	00000100
8	00001000

If you had 11:
11	00001011

Then it adds to 3 different ports.

-----Original Message-----
From: slinkelist-admin@nirvis.com [mailto:slinkelist-admin@nirvis.com]On
Behalf Of David McConnell
Sent: Tuesday, March 14, 2000 9:12 PM
To: slinkelist@nirvis.com
Subject: [slinkelist] Ports parameter in AddDevice Method


Exactly how do you reference port in the AddDevice command? If I just want
to add devices to IRE port 7, do I use 11 as the port parameter? This seems
to add them to several other ports...

Thanks






_______________________________________________
slinkelist maillist  -  slinkelist@nirvis.com
http://www.nirvis.com/mailman/listinfo/slinkelist


_______________________________________________
slinkelist maillist  -  slinkelist@nirvis.com
http://www.nirvis.com/mailman/listinfo/slinkelist