| gclib 2.0.7 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

  program | The program to download.
  preprocessor | Preprocessor 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.Exception | Will throw an exception if anything other than G_NO_ERROR is received from gclib.