gclib 2.0.9
Communications API for Galil controllers and PLCs
 
Loading...
Searching...
No Matches

◆ GSetupDownloadFile()

string[] GSetupDownloadFile ( string  Path,
Int32  Options 
)

Allows downloading of a Galil compressed backup (gcb) file to the controller.

Parameters
PathThe full filepath of the gcb file.
OptionsA 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.ExceptionWill throw an exception if anything other than G_NO_ERROR is received from gclib.