PICMLX_Connect

unsigned long PICMLX_Connect (unsigned long board, char remoteMachine[], unsigned long remotePort, unsigned long timeout, long *sessionID);

Purpose

Connect to a LXI and establish communication.

Parameters

Input
Name Type Description
board unsigned long

Reserved for future use.

remoteMachine char []

IP address or name of remote LXI.

remotePort unsigned long

Connection port of remote LXI.

timeout unsigned long

Connection timeout in milliseconds.

Output
Name Type Description
sessionID long (passed by reference)

Handle of session.

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