PICMLX_GetAvailableLXIEntryEx

unsigned long PICMLX_GetAvailableLXIEntryEx (unsigned long index, unsigned long *listenPort, unsigned long *cardCount, unsigned long *clientCount, unsigned long *openCardCount, char description[], unsigned long descriptionLength, char LXIAddress[], unsigned long LXIAddressLength);

Purpose

Send a direct inquiry to a LXI for getting information. If LXI is available, then you can get information
about LXI in 'LXIEntry' structure. If you pass a null as a LXIEntry variable, you can only find out if a LXI
is available (return value is zero). If LXI isn't available (cannot ping a target) return value is a
ER_PICMLX_CLI_PING_TIMEOUT.

Parameters

Input
Name Type Description
index unsigned long

Connection port of remote LXI.

descriptionLength unsigned long
LXIAddressLength unsigned long
Output
Name Type Description
listenPort unsigned long (passed by reference)

Returns server bridge listen port for connections.

cardCount unsigned long (passed by reference)

Returns available card count.

clientCount unsigned long (passed by reference)

Returns connected client count.

openCardCount unsigned long (passed by reference)

Returns opened card count.

description char []

Returns information string.

LXIAddress char []

Returns IP address.

Return Value

Name Type Description
return unsigned long

Zero for success, or no-zero error code.

References

Connection & Discovery
Client Bridge for LXI - Communication
Alphabetical Function Index
Hierarchical Function Index