Manage controller memory, such as program and arrays.
More...
|
void | gclib.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 | gclib.GArrayDownloadFile (string Path) |
| Allows downloading of a program array file to the controller.
|
|
List< double > | gclib.GArrayUpload (string array_name, Int16 first=-1, Int16 last=-1) |
| Uploads array data from the controller's array table.
|
|
void | gclib.GArrayUploadFile (string Path, string Names) |
| Allows uploading of a program array file from the controller to an array CSV file.
|
|
void | gclib.GFirmwareDownload (string filepath) |
| Upgrade firmware.
|
|
void | gclib.GProgramDownload (string program, string preprocessor="") |
| Allows downloading of a DMC program from a string buffer.
|
|
void | gclib.GProgramDownloadFile (string file_path, string preprocessor="") |
| Allows downloading of a DMC program from file.
|
|
string | gclib.GProgramUpload () |
| Allows uploading of a DMC program to a string.
|
|
void | gclib.GProgramUploadFile (string file_path) |
| Allows uploading of a DMC program to a file.
|
|
string[] | gclib.GSetupDownloadFile (string path, Int32 options) |
| Allows downloading of a Galil compressed backup (gcb) file to the controller.
|
|
◆ GArrayDownload()
void gclib.GArrayDownload |
( |
string | array_name, |
|
|
ref List< double > | data, |
|
|
Int16 | first = -1, |
|
|
Int16 | last = -1 ) |
|
inline |
Downloads array data to a pre-dimensioned array in the controller's array table.
- Parameters
-
array_name | String containing the name of the array to download. Must match the array name used in DM. |
data | A list of doubles, to be downloaded. |
first | The first element of the array for sub-array downloads. |
last | The last element of the array for sub-array downloads. |
Wrapper around gclib GArrayDownload(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclib_8h.html#a6ea5ae6d167675e4c27ccfaf2f240f8a The array must already exist on the controller, see DM and LA.
- Exceptions
-
System.Exception | Will throw an exception if anything other than G_NO_ERROR is received from gclib. |
Definition at line 104 of file gclib.cs.
◆ GArrayDownloadFile()
void gclib.GArrayDownloadFile |
( |
string | Path | ) |
|
|
inline |
◆ GArrayUpload()
List< double > gclib.GArrayUpload |
( |
string | array_name, |
|
|
Int16 | first = -1, |
|
|
Int16 | last = -1 ) |
|
inline |
◆ GArrayUploadFile()
void gclib.GArrayUploadFile |
( |
string | Path, |
|
|
string | Names ) |
|
inline |
◆ GFirmwareDownload()
void gclib.GFirmwareDownload |
( |
string | filepath | ) |
|
|
inline |
◆ GProgramDownload()
void gclib.GProgramDownload |
( |
string | program, |
|
|
string | preprocessor = "" ) |
|
inline |
◆ GProgramDownloadFile()
void gclib.GProgramDownloadFile |
( |
string | file_path, |
|
|
string | preprocessor = "" ) |
|
inline |
◆ GProgramUpload()
string gclib.GProgramUpload |
( |
| ) |
|
|
inline |
◆ GProgramUploadFile()
void gclib.GProgramUploadFile |
( |
string | file_path | ) |
|
|
inline |
◆ GSetupDownloadFile()
string[] gclib.GSetupDownloadFile |
( |
string | path, |
|
|
Int32 | options ) |
|
inline |
Allows downloading of a Galil compressed backup (gcb) file to the controller.
- Parameters
-
path | The full filepath of the gcb file. |
options | A bit mask indicating which sectors of the gcb file to restore to the controller. |
- Returns
- The controller information stored in the gcb file.
Wrapper around gclib GSetupDownloadFile(),
If options is specified as 0, the return string will have a number appended corresponding to a bit mask of the available gcb sectors
- Exceptions
-
System.Exception | Will throw an exception if anything other than G_NO_ERROR is received from gclib. |
Definition at line 658 of file gclib.cs.