06-18-2015 10:37 AM
Hi every one,
the problem is, that when I save the 2D array data in a csv file, there will only one column, and this column include all the single value of each signal. See Picture.
But after searching, I've found people just wrote the program the same way I do. What's the problem.
PS: the values are germany format, comma instead of point, and I'm sure it disturbes nothing.
So appreciate your favour.
best regards
Melo
06-18-2015 10:46 AM
Actually, your comma for the decimal should be exactly the problem. Change your delimiter to be a tab, save the file as a txt, and Excel should understand it just fine.
06-19-2015 04:09 AM
Hi Crossrulz,
thank you for your answer, but the problem occurs when I put a 2D string array. And the .csv file is customer wanted. Is there any other way?
best regards
Melo
06-19-2015 04:49 AM
Hi melonetern,
placing 'sep=,' as the first line of your csv file will automatically tell Excel to use that character as the separator.
E.g.
sep=,
a,d,v
s,f,c