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. | |
| GAddresses () | |
| Return a string array of available connection addresses. | |
| 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. | |
| void | GArrayDownloadFile (string Path) |
| Allows downloading of a program array file to the controller. | |
| List< double > | GArrayUpload (string array_name, Int16 first=-1, Int16 last=-1) |
| Uploads array data from the controller's array table. | |
| void | GArrayUploadFile (string Path, string Names) |
| Allows uploading of a program array file from the controller to an array CSV file. | |
| void | GAssign (string ip, string mac) |
| Assigns IP address over the Ethernet to a controller at a given MAC address. | |
| void | GClose () |
| Used to close a connection to Galil hardware. | |
| string | GCommand (string Command, bool Trim=True) |
| Used for command-and-response transactions. | |
| Int16 | GCmdI (string Command) |
| Used for command-And-response transactions. | |
| double | GCmdD (string Command) |
| Used for command-And-response transactions. | |
| void | GFirmwareDownload (string filepath) |
| Upgrade firmware. | |
| string | GInfo () |
| Provides a useful connection string. | |
| byte | GInterrupt () |
| Provides access to PCI and UDP interrupts from the controller. | |
| GIpRequests () | |
| Provides a list of all Galil controllers requesting IP addresses via BOOT-P or DHCP. | |
| string | GMessage () |
| Provides access to unsolicited messages. | |
| void | GMotionComplete (string axes) |
| Blocking call that returns once all axes specified have completed their motion. | |
| void | GOpen (string address) |
| Used to open a connection to Galil hardware. | |
| void | GProgramDownload (ref string program, string preprocessor="") |
| Allows downloading of a DMC program from a string buffer. | |
| void | GProgramDownloadFile (string file_path, string preprocessor="") |
| Allows downloading of a DMC program from file. | |
| string | GProgramUpload () |
| Allows uploading of a DMC program to a string. | |
| void | GProgramUploadFile (string file_path) |
| Allows uploading of a DMC program to a file. | |
| GRead () | |
| Performs a read on the connection. | |
| T | GRecord (Of GDataRecord)(async T bool) |
| Used for retrieving data records from the controller. | |
| void | GRecordRate (double period_ms) |
| Sets the asynchronous data record to a user-specified period via DR. | |
| void | GTimeout (Int16 timeout_ms) |
| Set the timeout of communication transactions. Use -1 to set the original timeout from GOpen(). | |
| string | GVersion () |
| Used to get the gclib version. | |
| void | GWrite (ref string buffer) |
| Performs a write on the connection. | |
| string[] | GSetupDownloadFile (string Path, Int32 Options) |
| Allows downloading of a Galil compressed backup (gcb) file to the controller. | |
| void | GSetServer (string server_name) |
| Connects gclib to a New gcaps server. | |
| string | GServerStatus () |
| Retrieves the name of your local gcaps server And whether Or Not it Is currently published. | |
| GListServers () | |
| Retrieves a list of gcaps servers that are advertising themselves on the local network. | |
| void | GPublishServer (string server_name, bool publish, bool save) |
| Publishes Or removes local gcaps server from the network. | |
| GRemoteConnections () | |
| Returns a list of IP Addresses that currently have an open connection to your hardware. | |
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_.