logWriteRaw (Function) |
Top Previous Next |
logWriteRaw writes raw data to an entry in the datalogger. To write to the flash-based Datalogger, please use logWrite.
Input:
handle : SYSHANDLE A handle to the Datalogger to write to.
tag : SINT Tag value for the entry.
data : PTR The data to write to the Datalogger.
size : DINT The size of the data.
linsec : DINT default -1 Optional timestamp in seconds since 1980-1-1 00:00:00 to use (if -1, the current time is used). Please note that the function LogGotoLinsec() function will not work correctly if log entries are not written with increasing timestamps.
Returns: INT
Declaration: FUNCTION logWriteRaw : INT;
Example: //----------------------------------------------------------------------------- |