Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

.csv data to array FileToArray, decimal comma

$
0
0

Hello,

I need to read a .csv file and writ the values in an array.

The csv is generated externally and I have no options to change it's generation format.

The problem is: the values are double and the decimal numbers are seperated by a comma instead of a dot. The seperation of each individual data is already in columns if i open it in excel, and seperated by semicolons if i open txt-editor.

FileToArray interprets comma as a seperator. Is there a way to change it, so that it is not interpreted at all but the semicolon. Is there a way so that cvi changes the comma to a dot for decimal-seperation of the double-type values? Is there another option to read the csv in an array?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>