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

◆ 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.

References G_BAD_FILE, G_NO_ERROR, H_ArrayDownloadFromMemory(), and vector().

Referenced by x_arrays().