gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ Main()

static int Main ( string[]  args)
inlinestatic

Main function for the Record Position 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 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, gclib.GClose(), gclib.GOpen(), Examples.PrintError(), and Examples.Record_Position().