Provides a class that binds to gclib's unmanaged dll. Wraps each call and provides a more user-friendly interface for use in Visual Basic. More...
Data Structures | |
interface | GDataRecord |
struct | GDataRecord1802 |
struct | GDataRecord1806 |
struct | GDataRecord2103 |
struct | GDataRecord30000 |
struct | GDataRecord4000 |
struct | GDataRecord47000_ENC |
struct | GDataRecord47162 |
struct | GDataRecord47300_24EX |
struct | GDataRecord47300_ENC |
struct | GDataRecord52000 |
Public Member Functions | |
void | New () |
Constructor of the gclib wrapper class. More... | |
GAddresses () | |
Return a string array of available connection addresses. More... | |
void | GArrayDownload (string array_name, ref List< double > data, Int16 first=-1, Int16 last=-1) |
Downloads array data to a pre-dimensioned array in the controller's array table. More... | |
void | GArrayDownloadFile (string Path) |
Allows downloading of a program array file to the controller. More... | |
List< double > | GArrayUpload (string array_name, Int16 first=-1, Int16 last=-1) |
Uploads array data from the controller's array table. More... | |
void | GArrayUploadFile (string Path, string Names) |
Allows uploading of a program array file from the controller to an array CSV file. More... | |
void | GAssign (string ip, string mac) |
Assigns IP address over the Ethernet to a controller at a given MAC address. More... | |
void | GClose () |
Used to close a connection to Galil hardware. More... | |
string | GCommand (string Command, bool Trim=True) |
Used for command-and-response transactions. More... | |
Int16 | GCmdI (string Command) |
Used for command-And-response transactions. More... | |
double | GCmdD (string Command) |
Used for command-And-response transactions. More... | |
void | GFirmwareDownload (string filepath) |
Upgrade firmware. More... | |
string | GInfo () |
Provides a useful connection string. More... | |
byte | GInterrupt () |
Provides access to PCI and UDP interrupts from the controller. More... | |
GIpRequests () | |
Provides a list of all Galil controllers requesting IP addresses via BOOT-P or DHCP. More... | |
string | GMessage () |
Provides access to unsolicited messages. More... | |
void | GMotionComplete (string axes) |
Blocking call that returns once all axes specified have completed their motion. More... | |
void | GOpen (string address) |
Used to open a connection to Galil hardware. More... | |
void | GProgramDownload (ref string program, string preprocessor="") |
Allows downloading of a DMC program from a string buffer. More... | |
void | GProgramDownloadFile (string file_path, string preprocessor="") |
Allows downloading of a DMC program from file. More... | |
string | GProgramUpload () |
Allows uploading of a DMC program to a string. More... | |
void | GProgramUploadFile (string file_path) |
Allows uploading of a DMC program to a file. More... | |
GRead () | |
Performs a read on the connection. More... | |
T | GRecord (Of GDataRecord)(async T bool) |
Used for retrieving data records from the controller. More... | |
void | GRecordRate (double period_ms) |
Sets the asynchronous data record to a user-specified period via DR. More... | |
void | GTimeout (Int16 timeout_ms) |
Set the timeout of communication transactions. Use -1 to set the original timeout from GOpen(). More... | |
string | GVersion () |
Used to get the gclib version. More... | |
void | GWrite (ref string buffer) |
Performs a write on the connection. More... | |
string[] | GSetupDownloadFile (string Path, Int32 Options) |
Allows downloading of a Galil compressed backup (gcb) file to the controller. More... | |
void | GSetServer (string server_name) |
Connects gclib to a New gcaps server More... | |
string | GServerStatus () |
Retrieves the name of your local gcaps server And whether Or Not it Is currently published More... | |
GListServers () | |
Retrieves a list of gcaps servers that are advertising themselves on the local network More... | |
void | GPublishServer (string server_name, bool publish, bool save) |
Publishes Or removes local gcaps server from the network More... | |
GRemoteConnections () | |
Returns a list of IP Addresses that currently have an open connection to your hardware. More... | |
Provides a class that binds to gclib's unmanaged dll. Wraps each call and provides a more user-friendly interface for use in Visual Basic.
The Gclib class assumes the default installation of gclib, "C:\Program Files (x86)\Galil\gclib\". If the dlls are elsewhere, change the path strings GclibDllPath_, and GcliboDllPath_.