| gclib 2.0.7 Communications API for Galil controllers and PLCs |

## ◆ GProgramDownloadFile()

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

Allows downloading of a DMC program from file.

Parameters

  file_path | The full filepath of the DMC file.
  preprocessor | Preprocessor 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.Exception | Will throw an exception if anything other than G_NO_ERROR is received from gclib.

Definition at line 483 of file gclib.cs.