gclib 2.0.9
Communications API for Galil controllers and PLCs
 
Loading...
Searching...
No Matches
remote_client_example.cs
Go to the documentation of this file.
1
11using System;
12using System.Linq;
13
14namespace examples
15{
23
25 {
31 public static int Main()
32 {
34
35 try
36 {
38 }
39 catch (Exception ex)
40 {
41 Console.WriteLine(ex.Message);
43 }
44
45 Console.Write("\nPress any key to close the example");
46 Console.ReadKey();
47
48 return rc;
49 }
50 }
52}
const int GALIL_EXAMPLE_OK
Examples success code.
Definition examples.cs:29
const int GALIL_EXAMPLE_ERROR
Examples error code.
Definition examples.cs:30
Provides a class of shared constants and methods for gclib's example projects.
Definition commands.cs:16
static int Main()
Main function for the Remote Client example.
Demonstrates various uses of GListServers() and GSetServer()
GReturn vector(GCon g, char *file)
Puts controller into Vector Mode and accepts a file defining vector points.
Definition vector.cpp:36
static int Remote_Client()
Accepts user input to publish to list and connect to available servers.