write array into .csv file: Using FB_FileOpen, FB_FileWrite, FB_FileClose (FB_FilePuts is only for string values); Here is used only FB_Open and FB_Write;
We go back to point 1. and 2 as long as we want;
ending measurement (then is also FB_FileClose used)
Unfortunately i am not getting the measurements that i want: If using BinaryMode (from example) are no good values if using TextMode (from example) the values are good but not all rows are written, just till LEN 255. Any idea what to change that it will be working?
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Guys,
I Have array with uint values.I would like to write this array in .csv file. Every value in separate row.
I tried to do it with Beckhoffs example: https://infosys.beckhoff.com/english.php?content=../content/1033/tcplclib_tc2_utilities/36028797054383755.html&id=2282274206105587986 But without success.
arrValues : ARRAY [0..Main.Arrlen] OF UINT;
Unfortunately i am not getting the measurements that i want: If using BinaryMode (from example) are no good values if using TextMode (from example) the values are good but not all rows are written, just till LEN 255. Any idea what to change that it will be working?
Thank you.