SPLat Logo

# LogWrite() hash function

NOTICE: Our web site is being updated, but is currently experiencing extreme slowness due to host issues. Please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map
SPLat will be shut down for the Christmas Holiday season from Friday 20 December 2024 through Tuesday 7 January 2025. We will check emails periodically and will continue to process orders but at a slower pace. Santa hat

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