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

◆ GProgramDownload()

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

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.

Definition at line 465 of file gclib.cs.

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

Referenced by Examples.Message(), and Examples.Record_Position().