12 Console.Write(vbCrLf + "Press any key to close the example.")
14 Return Examples.GALIL_EXAMPLE_ERROR
17 Dim serial_num As String = args(1)
19 Dim ok As Boolean = Byte.TryParse(args(2), address)
22 Console.WriteLine("Please enter a number between 0 and 255 for the address.\n" +
23 " This will be used as the last number in the IP Address\n" +
24 "Usage: ip_assigner_example.exe <SERIAL #> <1 Byte Address>")
26 Console.Write(vbCrLf + "Press any key to close the example.")
28 Return Examples.GALIL_EXAMPLE_ERROR
31 rc = Examples.IP_Assigner(gclib, serial_num, address)
33 Examples.PrintError(gclib, ex)
34 rc = Examples.GALIL_EXAMPLE_ERROR
39 Console.Write(vbCrLf + "Press any key to close the example.")
Provides a class that binds to gclib's unmanaged dll. Wraps each call and provides a more user-friend...
GReturn vector(GCon g, char *file)
Puts controller into Vector Mode and accepts a file defining vector points.
int Main()
Main function for the commands example.