CSV - text format for data exchange

CSV (Comma-separated values) is a simple file format designed for exchange of tabular data. The file in CSV format contains rows with individual items separated by comma (,) character. Item values can be enclosed in quotation marks ("), allowing the item text to contain a comma. If the text of the item contains quotation marks then these are doubled.
Because in some languages the comma character is used in numbers as a decimal separator, there are variants that use a different separator character, most often semicolon (;) or tab.
There is a table of data:
boiler1 89.5 On, Functional
boiler2 77.8 On, Functional
boiler3 21.9 Error, Unfunctional
This table can be written in CSV as follows:
boiler1,89.5,"On, Functional"
boiler2,77.8,"On, Functional"
boiler3,21.9,"Error, Unfunctional"

CSV support in the PROMOTIC system

Scripting methods for runtime:
- Pm.FileCsvRead: Reading from CSV file
- Pm.FileCsvWrite: Writing to CSV file
- PmaDataTable.LoadFromFile(.., "filetype:csv;"): Loading data for this object from a file
- PmaDataTable.SaveToFile(.., "filetype:csv;"): Saving data of this object into the file
- PmaTrendGroup.SaveToFile(.., "filetype:csv;"): Storing data of this object into the file
Support in the development environment:
- Export and import of variables in objects containing the Data page.
- Export of localized texts.

Pm8.03.22: Created
PROMOTIC 9.0.4 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice