| gclib 556 Communications API for Galil controllers and PLCs |

## ◆ Main()

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

Main function for the Record Position 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 should be a path to a file to save Axis A positional data.
The third argument should be a path to a file to save Axis B positional data.

Definition at line 38 of file record_position_example.cs.

References Examples.GALIL_EXAMPLE_ERROR, Examples.GALIL_EXAMPLE_OK, Examples.PrintError(), and Examples.Record_Position().