Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mos:textfile [2023/04/05 23:41] optrixmos:textfile [2025/12/18 22:50] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====TextFile====
  
 +The TextFile output module allows you to write data to a simple text file.
 +
 +Note that this text file will contain only the //live values// currently being read - it doesn't maintain a log of events or values (see [[LogFile]] if you want that). 
 +
 +This is often used with older systems reading data through FTP.
 +
 +^Parameter^Default^Meaning^
 +|**filename**||The full path to the file to write|
 +
 +===Example===
 +
 +<code>
 +[
 +   {
 +       "method": "textfile",
 +       "filename": "c:\tmp\myfile.txt"
 +   }
 +]
 +</code>
 +
 +//The above example would send values to a plain text file at **c:\tmp\myfile.txt** on Windows systems//.
 +
 +===Other Modules===
 +
 +Return to the [[key-value methods|list of output modules]].