gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ GProgramDownloadFile()

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

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.