Promotic

Data binding S - Data binding to the text file content - configuration window

Description:
The value of the data binding S is a text get from the selected file.
This data binding is not functional in the Web panel.
Data binding configurators:
File nameThe file name with the path from which the text has to be read.
If it goes about the text file, then only this configurator has to be filled, Section and Key configurators are not important in this case. In this case the whole content of the text file will be read.
The file can be listed by the next button.
SectionSection of the *.ini file from which the text has to be read (fill without brackets).
Macro expression can be used for input (it is evaluated while the window is opening).
KeyKey of the *.ini file from which the text has to be read.
Macro expression can be used for input (it is evaluated while the window is opening).
Note:
Data binding is not limited by text file size (it can bind to text with big size).
If it goes about the INI file, then it is necessary to fill not only the File name configurator but also the Section and Key configurators.
Example:
Let's have the file "Boiler.ini" with the following content
[Boiler1]
Run=1

Number 1 (as a string) from the "Boiler1" section and from the "Run" key can be got by setting the configurators as follows:
File name C:\Data\Boiler.ini
Section Boiler1
Key Run
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.