LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can only display chart with date and current time, not test time

Hi everyone,

 

I have a very simply program in which I'd like to display the chart with the test time. That means that it the x-axis should start at zero (if I clear the chart data) and then increase from zero. However it keeps displaying the date and time instead. I tried everything in the properties and I can't modifiy this. Is there something that I am missing?

 

Thank in advance!

0 Kudos
Message 1 of 3
(1,696 Views)

The "Waveform" data type includes 3 things:

  • The start time of the waveform
  • The distance between each waveform point
  • An array of points

Since you're using a waveform data type, the graph uses the 3 parts of the waveform to find the time.  If you look on the "Waveform" palette, in the "Analog waveform" sub-palette, you'll see a VI called "To XY Pairs", and if you use that you can wire it to an XY graph instead.  If the X axis isn't what you like, you can do some math on the X coordinates to make them start at zero and match your intended graph.

0 Kudos
Message 2 of 3
(1,682 Views)

Did you try going to the properties for the chart and set the properties for the X-scale axis to be Relative Time instead of Absolute Time?

0 Kudos
Message 3 of 3
(1,654 Views)