gclib  1.37.6
Communications API for Galil controllers and PLCs

◆ Main()

static int Main ( string[]  args)

Main function for the IP Assigner example.

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

The first argument should be the Serial # of a Galil Controller.
The second argument should be a 1 Byte value that will be used as the final byte in the newly assigned IP Address.

Definition at line 35 of file ip_assigner_example.cs.

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