gclib  2.0.8
Communications API for Galil controllers and PLCs
C#/VB examples

Description

Files included in the C# Examples.

Files

file  commands.cs
 
file  commands_example.cs
 
file  contour.cs
 
file  contour_example.cs
 
file  examples.cs
 
file  ip_assigner.cs
 
file  ip_assigner_example.cs
 
file  jog.cs
 
file  jog_example.cs
 
file  message.cs
 
file  message_example.cs
 
file  motion_complete.cs
 
file  motion_complete_example.cs
 
file  position_tracking.cs
 
file  position_tracking_example.cs
 
file  record_position.cs
 
file  record_position_example.cs
 
file  Remote_Client.cs
 
file  remote_client_example.cs
 
file  Remote_Server.cs
 
file  remote_server_example.cs
 
file  vector_mode.cs
 
file  vector_mode_example.cs
 

Data Structures

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  Examples
 Provides a class of shared constants and methods for gclib's example projects. 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

static int Commands (gclib gclib)
 Demonstrates various uses of GCommand() and basic controller queries. More...
 
static int Contour (gclib gclib, string fileA, string fileB)
 Record user's training and plays back training through contour mode. More...
 
static int IP_Assigner (gclib gclib, string serial_num, byte address)
 Assigns controller an IP Adress given a serial number and a 1 byte address. More...
 
static int Jog (gclib gclib)
 Puts controller into Jog Mode and accepts user input to adjust the speed. More...
 
static int Message (gclib gclib)
 Demonstrates how to receive messages from the controller and detect differences in Trace and crashed code. More...
 
static int Motion_Complete (gclib gclib)
 Uses interrupts to track when the motion of controller is completed. More...
 
static int Position_Tracking (gclib gclib, int speed)
 Puts controller into Position Tracking Mode and accepts user-entered positions. More...
 
static int Record_Position (gclib gclib, string fileA, string fileB)
 Record user's training and saves to a text file. More...
 
static int Remote_Client ()
 Accepts user input to publish to list and connect to available servers. More...
 
static int Remote_Server (string server_name)
 Accepts user input to publish or remove local gcaps server from the network. More...
 
static int Vector_Mode (gclib gclib, string file)
 Puts controller into Vector Mode and accepts a file defining vector points. More...