ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(2,226 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
(2,212 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
(2,184 Views)