Text-File Live Driver Information
Source Properties
Live text sources are designed for situations where you have a system that regularly dumps information to a text file.
When setting up the text file source, you'll be asked to specify…
Option | Use |
---|---|
Path | The full path to the text file |
Delimiter | The 'delimiter' character that separates the columns. If blank, it is assumed to be 'tab' |
Label Column | The number of the column that contains the 'name' of the value |
Value Column | The number of the column that contains the value |
Note that in the above values, the column count begins at '1'. A zero indicates that the column is not present in your file.
Link Properties
These are the options that appear when you link a property to a text data source…
Option | Use |
---|---|
Label | The lookup label |
Zero Labels
If you use zero as the label column number in your source, the 'label' you use to connect your asset properties to live data will be the order of the values. Ie. to connect your temperature to the value in the third line of the file, the label would be '3'.
12.5 16.95 11.4 Stationary
A temperature linked to label '3' would receive a value of 11.4 from the file above.
Non-Zero Labels
If you've specified a label column number in your data source, the driver will search for a line with the label chosen in the link properties.
ROOM1_TEMP 12.5 ROOM2_TEMP 16.95 ROOM3_TEMP 11.4 ROOM2_FAN Stationary
A temperature linked to the label 'ROOM2_TEMP' would receive a value of 16.95 from the file above.