Promotic

Data saving into the file in the PROMOTIC format (Promotic binary file cyclic) - configuration window

Description:
The window serves for setting the parameters for the data storage into the file in the PROMOTIC format. The data are saved into one file on the disk. The file size is constant and it is defined by the number of rows. If a new line is written into the file and the lines count exceeds the file size, then the oldest record is removed and the new one is written. This walkthrough repeats all over again.
The name of the variable on the "Data" tab can be maximum 31 characters long (length of column name in file is limited).
Configurators:
Data source (ConnectionString)Text string used for connection to the data source using the PROMOTIC technology (not ADO). The same syntax is used in order to keep it simple.
Macro expression can be used for input (it is evaluated after the application is launched). For example$.join("Data Source=",$.path("data","trend/"),$.expr("pMe.GroupId"),"/;") This configurator must not contain an empty string.
Data Source - Name of the *.ht file on the disk into which the data are stored.
Number of file recordsMaximum number of records in the file. If the records count exceeds this value, then the oldest record is always removed when writing new record. By this the number of records in the file is kept on the constant value.
The setting -1 defines unlimited file size enabling the file to grow beyond all limits. In this case, for example, the ClearHistory method can be used for archive contents deletion.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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