Well, I did take the link to code correctly, without macro, to pass macro variables to DATALINES/DATA.
This is for production. What I need is to generate a text file(will be read by C++ code):
This 1st line, [value]
The 2nd/3rd/.. line: variable_name=variable's value
I do not need the values at each column. I need them with the format above, line-by-line.
Coding without Macro Loopit(), run well. But I need overwrite the file every n-second(values are updated),
so I use MACRO(I skip the do-loop in my macro), but seem MACRO does not allow DATALINES/DATA.
So how to generate the file, periodically?!
... View more