gclib  2.0.8
Communications API for Galil controllers and PLCs
examples Namespace Reference

Data Structures

class  Examples
 Provides a class of shared constants and methods for gclib's example projects. More...
 
class  Commands_Example
 Demonstrates various uses of GCommand() and basic controller queries. More...
 
class  Contour_Example
 Record user's training and plays back training through contour mode. More...
 
class  IP_Assigner_Example
 Assigns controller an IP Adress given a serial number and a 1 byte address. More...
 
class  Jog_Example
 Accepts user-input at the command line to control the speed of the controller in Jog mode. More...
 
class  Message_Example
 Demonstrates how to handle and interpret messages from the controller. More...
 
class  Motion_Complete_Example
 Uses controller interrupts to detect when motion is complete. More...
 
class  Position_Tracking_Example
 Places controller into position tracking mode. Accepts user-defined positional values at the command line. More...
 
class  Record_Position_Example
 Takes two file paths at the command line to hold positional data for Axis A and Axis B. Positional data is saved to the two files until an analog input value changes. More...
 
class  Remote_Client_Example
 Demonstrates various uses of GListServers() and GSetServer() More...
 
class  Remote_Server_Example
 Demonstrates various uses of GPublishServer() More...
 
class  Vector_Mode_Example
 Takes a path to a file at the command line holding vector commands for the controller. The controller is placed into vector mode and commands are read from the file and sent to the controller. More...
 

Functions

int Commands (Gclib gclib)
 Demonstrates various uses of GCommand() And basic controller queries. More...
 
int Main ()
 
int Contour (Gclib gclib, string fileA, string fileB)
 
void PrintError (Gclib gclib, Exception ex)
 Prints the exception to the console And queries the controller for the most recent error message.
More...
 
int IP_Assigner (Gclib gclib, string serial_num, byte address)
 
int Jog (Gclib gclib)
 
 Message (Gclib gclib)
 
 Motion_Complete (Gclib gclib)
 
 Position_Tracking (Gclib gclib, int speed)
 
 Record_Position (Gclib gclib, string fileA, string fileB)
 
int Remote_Client ()
 Demonstrates various uses of GListServers() and GSetServer() More...
 
int Remote_Server (string server_name)
 Demonstrates various uses of GPublishServer() More...
 
int Vector_Mode (Gclib gclib, string file)
 

Variables

´╗┐partial Module Examples
 
positions_A As List< string >
 
const int GALIL_EXAMPLE_OK = 0
 
const GALIL_EXAMPLE_ERROR = -100