LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wavefrom graph time from .csv file

Hello everyone. I had this problem something about three weeks ago:

 

http://forums.ni.com/t5/LabVIEW/Wavefrom-graph-time-from-csv/td-p/2256754

 

and solved it by changing the delimiter to a comma decimal delimitter with the format %,;%.2f 

 

But this problem occurs again suddenly!.

 

I have attached the VI and the .csv file as a ZIP format

 

Untitled.png

Best regards

Oesen
Download All
0 Kudos
Message 1 of 25
(3,641 Views)

Please do a little simple troubleshooting. You have an array indicator on the front panel. What is the delta between the times of the first row and the second row? Do you really want the first row?

0 Kudos
Message 2 of 25
(3,625 Views)

The first row is zero in the array indicator, yes, but where do that zero value come from ?. My data in the .csv file shows exactly 0.84 as the first time value ?

Best regards

Oesen
0 Kudos
Message 3 of 25
(3,617 Views)

It most certainly does not show 0.84 as the value in the first row. Look at the file again. It's pretty evident that the first row has 'Time; Measurement'. How do you think the text 'Time' is being interpreted?

Message 4 of 25
(3,613 Views)

Right !

 

Is there any option in LabVIEW, where i can start to read the time and data from the second row as the first value ?

Best regards

Oesen
0 Kudos
Message 5 of 25
(3,610 Views)

Several ways. One way is to simply change your index array after you get the column. Another is to remove the row right after the Read From Spreadsheet Array with the aptly called Delete From Array function.

 

Basic stuff. Have you taken the tutorials yet?

Message 6 of 25
(3,604 Views)

No, not yet 😞

Best regards

Oesen
0 Kudos
Message 7 of 25
(3,599 Views)

I have deleted "row 0" and the graph is better now, but is still incorrect 😞

 

Untitled.png

Best regards

Oesen
0 Kudos
Message 8 of 25
(3,591 Views)

I don't see the same thing. I have an x axis with 0, .12, .24, .36, etc. That is exactly what I would expect with a dt=.12 (cheich is what is in your file). What do you really want to see?

0 Kudos
Message 9 of 25
(3,587 Views)

The y-value is 4.7 after 3 seconds in the graph, but it should be 9.31 ?

Best regards

Oesen
0 Kudos
Message 10 of 25
(3,585 Views)