| gclib 1.34.15 Communications API for Galil controllers and PLCs |

## ◆ Main()

static int Main | ( | string[] | args | ) |
| inline static

Main function for the position tracking example.

Parameters

  args | An 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, Examples.Position_Tracking(), and Examples.PrintError().