gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ Main()

static int Main ( string[]  args)
inlinestatic

Main function for the vector mode 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 containing vector commands.

Definition at line 35 of file vector_mode_example.cs.

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