gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ GProgramDownload()

void GProgramDownload ( ref string  program,
string  preprocessor = "" 
)

Allows downloading of a DMC program from a string buffer.

Parameters
programThe program to download.
preprocessorPreprocessor directives. Use nullstring for none.

Wrapper around gclib GProgramDownload(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclib_8h.html#acafe19b2dd0537ff458e3c8afe3acfeb

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