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

◆ x_programs()

int x_programs ( GCon  g)

Example GProgramDownload() and GProgramUpload() usage.

Demonstrates program download and upload including compression.

Definition at line 9 of file x_programs.cpp.

References G_NO_ERROR, G_UNABLE_TO_COMPRESS_PROGRAM_TO_FIT, GCmd(), GCmdI(), GProgramDownload(), GProgramDownloadFile(), GProgramUpload(), GProgramUploadFile(), GSleep(), vector(), and x_e().