| gclib 1.35.5 Communications API for Galil controllers and PLCs |

## ◆ GArrayDownloadFile()

GCLIB_DLL_EXPORTED GReturn GCALL GArrayDownloadFile | ( | GCon | g,
|  | GCStringIn | file_path
| ) |  |

Array download from file.

Downloads a csv file containing array data at `file_path`. If the arrays don't exist, they will be dimensioned.

Parameters

  g | Connection's handle.
  file_path | Null-terminated string containing the path to the array file.

Returns
  The success status or error code of the function. See gclib_errors.h for possible values.

See x_arrays.cpp for an example.

Definition at line 380 of file arrays.c.

References G_BAD_FILE, G_NO_ERROR, and H_ArrayDownloadFromMemory().