0
Items : 0
Subtotal :  0.00
View CartCheck Out
Chennai
Chennai
Singapore
Mumbai
Switzerland
+91 44 4091 2000 Mon - Fri 09:00 - 18:30 766/1, TEZ, Sakthi Towers 1, Anna salai, Chennai 600 002.
+6584181583 Mon - Fri 09:00 - 18:30 68 Circular Road, #02-01, 049422, Singapore.
+91 98848 35702 Mon - Fri 09:00 - 18:30 5, Powai Lake Heights, Mumbai 400 072
+41 (0)91 225 81 00 Mon - Fri 09:00 - 18:30 Equvera - ISV Techno SAGL, Via Ligornetto 6A, 6855 Stabio, Switzerland
Ceritified
ISO 9001:2018
The Best
#1 in India
#1 in Europe
#1 in Asian-pacific
Number #1
AUTOMATION SOLUTION PROVIDER
Talk to an Expert
0
Items : 0
Subtotal :  0.00
View CartCheck Out

Data Encode

DATA ENCODING TO JSON, CSV, XML

Latest version:5.0.1 build 1126.November 28, 2025.

Data Encode is a data transformation plugin designed for engineers, system integrators, and support teams who need to convert parsed values into structured text formats. It runs inside our data logging products and produces JSON, XML-RPC, or CSV strings from variables created by various parsers. These formats are widely accepted by web services, databases , message brokers, and reporting tools. For example, you can generate a JSON packet and forward it to a web server REST endpoint or publish it to an MQTT brokerusing our export modules. The plugin helps you avoid custom scripting, reduce errors in manual data formatting, and standardize how your applications consume logged data.

The plugin works in a simple way. It takes parsed variables from a processed data packet, formats them according to your settings, and returns a single string. You can store this string in another parser variable and use it in later stages of your processing chain, or you can send it to another data source. You can choose the output format (JSON, XML-RPC, CSV), define which variables to include, and rename them if needed. The plugin can also compress the output by removing extra spaces and line breaks or add a trailing CR/LF pair to simplify integrations via files. Even in complex logging configurations with many devices and protocols, you can keep a consistent structure for outgoing data without touching your existing parsers.

Download Documentation

Below is a simple example of JSON output that the plugin can generate. Imagine that the selected parserhas extracted the following variables from an incoming packet: DATE_TIME_STAMP, DEVICE_ID, TEMP_C, and STATUS. After configuration, the Data Encode plugin can create this JSON string:

{ "timestamp": "2026-01-02 08:00:00", "deviceId": "SENSOR_01", "temperatureC": 23.4, "status": "OK" } 

If you enable compact mode, the same data will look like this, without extra spaces and new lines:

{"timestamp":"2026-01-02 08:00:00","deviceId":"SENSOR_01","temperatureC":23.4,"status":"OK"}

For XML-RPC, the plugin can create data similar to the following:

<PutData> <value><string>SENSOR_01</string></value> <value><string>2026-01-02 08:00:00</string></value> <value><double>23.4</double></value> <value><string>OK</string></value> </PutData> 

CSV output can be as simple as:

"2026-01-02 08:00:00","SENSOR_01","23.4","OK"

Download Documentation

HOW TO ENABLE THIS PLUGIN

The figure below shows how to select the plugin on the “Modules” page.

Selecting the Data Encode plugin

Fig.1. Selecting the plugin.

HOW TO CONFIGURE THE PLUGIN

The figure below shows how to configure the plugin. Please, look at the documentation for the full description of all settings.

Configuring the data encoding plugin

Fig.2. Configuring the plugin.