LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have created CSV file and want to read a particular element from the file to my vi

Solved!
Go to solution

I am using read file for the first time and created this vi. But I can't seem  to read the element 4 from the file, so I can show the picture given the value 4. Could anyone check my VI and tell me where I went wrong

Download All
0 Kudos
Message 1 of 3
(2,757 Views)

Hi Donajacob,

 

when creating that CSV file you used the comma as separator. When reding the file you need to use the very same separator - that's why the ReadSpreadsheetFile function has an input for that char…

 

(Did you read the help for that function? It explains all inputs…)

 

#9000

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,752 Views)
Solution
Accepted by topic author Donajacob

1) You need to specify the delimiter as a comma.

2) Today is the 18th.  Your 4 is in the 17th day of June.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(2,745 Views)