cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

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
Baixar tudo
0 Kudos
Mensagem 1 de 25
4.239Exibições

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
Mensagem 2 de 25
4.223Exibições

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
Mensagem 3 de 25
4.215Exibições

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?

Mensagem 4 de 25
4.211Exibições

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
Mensagem 5 de 25
4.208Exibições

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?

Mensagem 6 de 25
4.202Exibições

No, not yet 😞

Best regards

Oesen
0 Kudos
Mensagem 7 de 25
4.197Exibições

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

 

Untitled.png

Best regards

Oesen
0 Kudos
Mensagem 8 de 25
4.189Exibições

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
Mensagem 9 de 25
4.185Exibições

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

Best regards

Oesen
0 Kudos
Mensagem 10 de 25
4.183Exibições