I am using an automation device (equipped with CODESYS) to calculate the output value of a function block. In order to make sure the function work as it should do we would like to compare this output value with the output result of another function block, that we didn't write.
In order to report the result of this comparison, we would like to have the two values mentioned above drawn in the form of graph. Therefore, we need to have a time-string of these two data (in csv or any other format). I did some google research and also take a look at this question. There seems to be not large amount of information on how to do file I/O using CODESYS.
I am wondering if anybody has had similar experience (performing a synchronous file I/O to generate CSV data).
Any idea is highly appreciated. Thanks.