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

◆ GProgramDownloadFile()

void GProgramDownloadFile ( string  file_path,
string  preprocessor = "" 
)
inline

Allows downloading of a DMC program from file.

Parameters
file_pathThe full filepath of the DMC file.
preprocessorPreprocessor directives. Use nullstring for none.

Wrapper around gclib GProgramDownloadFile(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclibo_8h.html#a8e44e2e321df9e7b8c538bf2d640633f

Exceptions
System.ExceptionWill throw an exception if anything other than G_NO_ERROR is received from gclib.

Definition at line 483 of file gclib.cs.

References G_NO_ERROR, GError(), and vector().