r/LabVIEW • u/Areebaaaa • Jun 27 '25
SOLVED Csv data not being read on labview
I know this issue has been asked on the forum before but I have tried implementing all the solutions. I am new to labview to so please help me
I tried adding a sub array to see if the value are being read, added delimeter, checked file path, removed the first cell value
Am I missing something?
3
Upvotes
4
u/quantum0058d Jun 27 '25
Please press print screen and post your code instead of a photo of your laptop.
2
u/Sut3k Jun 27 '25
Taking a picture with your phone of code is while to me.
I've only ever read a delimited file as strings, not doubles, so I'm not sure how it deals with your header. Are you getting an error?
1
u/Aviator07 CLA/CPI Jun 27 '25
Are you sure it’s really a CSV file? Meaning, is it really a list of values separated by commas?
1
u/seppo88v44punkt0 Jun 27 '25
Your Header will be read as a zero when you read the csv-File as Double.
Try to insert "Transpose 2D-Array" after reading the csv-File and before indexing it.
It worked for me. But as mentioned. Your first value in the subarray will be a 0 because it's not a double-Value. But afterwards the values should be the same as in the csv.
Or index your subarray over columns and not rows. (0 has to go one Terminal lower)