gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ GArrayUploadFile()

GCLIB_DLL_EXPORTED GReturn GCALL GArrayUploadFile ( GCon  g,
GCStringIn  file_path,
GCStringIn  names 
)

Array upload to file.

Uploads the entire controller array table or a subset and saves the data as a csv file specified by file_path.

Parameters
gConnection's handle.
file_pathNull-terminated string containing the path to the array file, file will be overwritten if it exists.
namesNull-terminated string containing the arrays to upload, delimited with space. "" or null uploads all arrays listed in LA.
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 408 of file arrays.c.