gclib  2.0.8
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
gConnection's handle.
file_pathNull-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.