SlinkX.NumSlinkes

int NumSlinkes

Remarks

This property is an integer which tells you how many Slink-es are available on the server. It is wise to check this value before using a method like AddDevice which references a Slink-e number to prevent errors.

Example (Visual Basic)

if (Slinkx.NumSlinkes >= slinkenum) then
    result = Slinkx.AddDevice(devname, devfile, devID, slinkenum, portnum)
else
    MsgBox("Error – Slink-e not available")
    End
endif

See Also

SlinkX.AddDevice