SPLat Logo

# LogWrite() hash function

NOTICE: We are updating our website. For product enquiries and orders please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map

# LogWrite() hash function

Valid for use with hash command: HMI_Log

Causes log data to actually get written to Disk/SD card. Data from the SPLat is accumulated within the SimpleHMI client until a LogWrite is executed. At that time:

  1. The decision is made as to whether to create a new file, according to the rules and any prior NewFile.
  2. The file is opened and the data is written or appended to the file. Each record is terminated in '0D '0A (CR/LF), Windows style.
  3. The file is closed.