logOpen (Function) |
Top Previous Next |
logOpen opens an existing Datalogger from a file on the file system. Input: filename : STRING The path to the file to open. If the file is not located in the B:\SYSTEM\DATALOGS\ folder, it will be opened read-only. If no filename is provided, the handle to the default log file will be returned.
key : DINT User-defined key-value. If it does not match the key stored in the datalogger, an error will be reported.
Output: handle : SYSHANDLE A handle to the opened datalogger.
Returns: INT
Declaration: FUNCTION logOpen : INT;
Example: INCLUDE rtcu.inc |