gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ Main()

int Main ( )

Demonstrates various uses of GCommand() And basic controller queries.

The first argument should be the IP Address of a Galil controller.

Main function for the commands example.

Returns
The success status Or error code of the function.

The first argument should be the IP Address of a Galil controller.

Demonstrates various uses of GListServers() and GSetServer().

This example requires no command line arguments.

Main function for the Remote Client example.

Returns
The success status Or error code of the function.

This example requires no command line arguments.

Demonstrates various uses of GPublishServer().

The first argument is optional and defines the name to publish the server under.

Main function for the Remote Server example.

Returns
The success status Or error code of the function.

The first argument is optional and defines the name to publish the server under.