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

Waveform chart

Friends,
I configured my waveform chart to display time in minutes and seconds on the x-axis. However, a number appears before the minutes and seconds, as shown in the figure. Is there any way to make the program not display this strange number? Thank you for your help!

MarceloPinto71_0-1721830872198.jpeg

MarceloPinto71_0-1721830968721.jpeg

 

 

0 Kudos
Mensagem 1 de 20
1.648Exibições

What are the time values? (e.g. how is t0 obtained) Could it be they are absolute (seconds since ~1904)  instead of relative?

0 Kudos
Mensagem 2 de 20
1.632Exibições

Time comes from elapsed time vi.

0 Kudos
Mensagem 3 de 20
1.614Exibições

Set start time (s) --> 0

 

MarceloPinto71_1-1721835082432.jpeg

 

0 Kudos
Mensagem 4 de 20
1.607Exibições

You need to be more specific. Can you explain how things are wired up, maybe attach a simplified version of your VI (save for previous, 2020 or below).

 

A chart does not accept an elapsed time anywhere. What is dt? What is the datatype (dynamic, waveform, array, scalar cluster, etc.). How is the x-axis configured?

0 Kudos
Mensagem 5 de 20
1.599Exibições

MarceloPinto71_0-1721838100372.jpeg

 

0 Kudos
Mensagem 6 de 20
1.589Exibições

It is a simple continuous voltage acquisition.

0 Kudos
Mensagem 7 de 20
1.588Exibições

63411218 minutes is about 120.6 years, which is about the same time between the "zero time" of LabVIEW (Jan 1 1904) to now.

 

Somewhere, somehow, you have converted a time stamp into a value that the waveform chart thinks is what it needs to display as the time counter.

 

You might want to consider using a "graph" instead of a "chart".  A chart seems easy because you only pass in the Y values and it takes care of X for you as well as storing all previous values in the chart until they roll off, but it comes at the cost that all the X values are evenly spaced and difficult to define.

 

With a graph you will need to both define the X,Y pairs more precisely and maintain your own copy of the complete data you want to show, but the increase in control over what you see is always worth it in my experience.  I haven't used a "chart" in any application larger than a single quick testing VI in years.

0 Kudos
Mensagem 8 de 20
1.586Exibições

Forgiveness! Elapsed time was used elsewhere in the code and has nothing to do with this specific case. In this case, it is simply a waveform chart showing the values ​​acquired over time.

0 Kudos
Mensagem 9 de 20
1.585Exibições

we cannot debug pictures.

0 Kudos
Mensagem 10 de 20
1.560Exibições