And that is because of what I said in my previous post...
The fact it works by connecting to the modbus node is because that data is an array
of 2 values and you have 2 entries in the column field.
SO - your options are depenedant on what you are trying to achieve. Do you want 1 value in the file or 2 values in the file?
If you simply want the value of item2
- set the column field to item2
The better solution...
A better solution is to do what I suggested in the previous thread...
If you do this and set the CSV column to energy,voltage
then it will log both fields together with consistency (i.e. values read at the same point in time)