gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ Main()

static int Main ( string[]  args)
inlinestatic

Main function for the position tracking example.

Parameters
argsAn array of command line arguments.
Returns
The success status or error code of the function.

The first argument should be the IP Address of a Galil controller. The second argument is optional and defines the default speed of the controller in Position Tracking mode.

Definition at line 36 of file position_tracking_example.cs.

References Examples.GALIL_EXAMPLE_ERROR, Examples.GALIL_EXAMPLE_OK, gclib.GClose(), gclib.GOpen(), Examples.Position_Tracking(), and Examples.PrintError().