CSV2SerialAdapter Data Format

The text data format is a standard "Comma Separated Values" CSV-file as it is used by spread sheet applications as well. The alignment of data (values) is common for a lot of battery charger devices. The LogView application also can import this type of data and is named as "OpenFormat". Due to the platform comprehensive approach of the DataExplorer, it is required to make the specification more complete. As example different execution platforms used different new line characters, p.e. Windows <CR><LF> while creating a file. On the other hand it must be secured that files created on different platforms, with specific new line characters, can be interpreted, p.e. GNU/Linux <LF> or Mac <CR>. Refer to the DevicePropertiesEditor data block description.
The sample showing the assignment of the values in relation to the text data and how they gets interpreted.

As pendant data can be send as a JSON string. This looks like this example:
{"dsn":1,"st":1,"tm":0,"data":[1001,1002,1003,1004,1005,1006,1007,1008],"crc":0}
Since the JSON parser relay on the field names, „dsn“ stands for dataset-number, it is important to use this defined names. Otherwise parsing will fail.

<<== previous