29 Console.WriteLine(
"***************************************************************");
30 Console.WriteLine(
"Example GMessage() usage");
31 Console.WriteLine(
"***************************************************************");
52 for (
int b = 0;
b <
buf.Length;
b++)
86 for (
int b = 0;
b <
buf.Length;
b++)
94 Console.Write(
"Standard Line: ");
96 Console.Write(
"Crashed Code: ");
const int GALIL_EXAMPLE_OK
Examples success code.
Provides a class of shared constants and methods for gclib's example projects.
string GCommand(string Command, bool Trim=true)
Used for command-and-response transactions.
void GProgramDownload(string program, string preprocessor="")
Allows downloading of a DMC program from a string buffer.
string GMessage()
Provides access to unsolicited messages.
Provides a class that binds to gclib's unmanaged dll. Wraps each call and provides a more user-friend...
GReturn message(GCon g)
Demonstrates how to receive messages from the controller and detect differences in Trace and crashed ...
GReturn vector(GCon g, char *file)
Puts controller into Vector Mode and accepts a file defining vector points.
static int Message(gclib gclib)
Demonstrates how to receive messages from the controller and detect differences in Trace and crashed ...