Operating Guide
How to build software with the data log
Summary
Description
In software made using MCXDesign, it is possible to add a data log function. This function only works
with MCX061V and MCX152V.
The data is saved in internal memory or/and in SD card memory and can be read through a WEB
connection or by a PC using a decode program.
MCXDesign part
1. In the “LogLibrary” there are three bricks that enable the addition of data logging to software
made using MCXDesign: one brick is for events and the others enable the selection of variables and
of memory for storing the data.
2. Software with data logging looks like the image below:
Note: The data logging feature is only available in the MCX hardware (it cannot be simulated using the
software simulation).
3. The “EventLog” brick and “SDCardDataLog32” brick save the file to the SD memory, and the
Note: For additional information, please refer to the bricks’ help.
© Danfoss | Climate Solutions | 2021.11
“MemoryDataLog16” brick saves the file to MCX internal memory.
AQ397141290559en-000101 | 1
Operating Guide | How to build software with the data log
Reading the file through the decode program
1. The files saved on the SD card can be read through a WEB connection or using a batch file.
However, the file saved on the internal memory can be read only through WEB.
2. To read the files on the SD card using a decode program, download the “DecodeLog” folder
available on the MCX site and save it to the C disk:
3. Extract the memory card from the MCX and copy and paste the files to the SD card in the
“DecodeLog/Disck1” folder:
4. From the “DecodeLog” folder, run the batch file “decodeSDCardLog”. This will generate the .csv
files with encoded data:
2 | AQ397141290559en-000101
© Danfoss | Climate Solutions | 2021.11