14 public static partial class Examples
29 Console.WriteLine(
"***************************************************************");
30 Console.WriteLine(
"Example GMessage() usage");
31 Console.WriteLine(
"***************************************************************");
33 gclib.GCommand(
"TR0");
36 gclib.GProgramDownload(
"MG \"HELLO \" {N}\r" +
50 while ((buf = gclib.GMessage()) !=
"")
52 for (
int b = 0; b < buf.Length; b++)
66 gclib.GCommand(
"TR1");
67 gclib.GProgramDownload(
84 while ((buf = gclib.GMessage()) !=
"")
86 for (
int b = 0; b < buf.Length; b++)
94 Console.Write(
"Standard Line: ");
96 Console.Write(
"Crashed Code: ");
98 Console.Write(
"Trace Line: ");
Provides a class of shared constants and methods for gclib's example projects.
const int GALIL_EXAMPLE_OK
Examples success code.
GReturn message(GCon g)
Demonstrates how to receive messages from the controller and detect differences in Trace and crashed ...
static int Message(gclib gclib)
Demonstrates how to receive messages from the controller and detect differences in Trace and crashed ...