LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how is time asigned to an wave form graph when plot an 1d array?

Solved!
Go to solution

Hey, I have a doubt, in my VI I have an 1d array and when I plot it with a waveform chart, it shows the data in the graph.

But my question is, how does the waveform chart know to what time does each data from the array is related to?  Because the only data I give  is the array and no the time, and the graph shows data vs time [ms]. 

I hope you understand what I mean.

0 Kudos
Message 1 of 4
(2,370 Views)
Solution
Accepted by paco09

The default x-label on the plot is time. You are just plotting data vs index, not time.

 

mcduff

Message 2 of 4
(2,357 Views)

Thank you! now it's clear, it make sense

0 Kudos
Message 3 of 4
(2,349 Views)

You can label the x-axis anything you want.

 

Knowing x0 (x-value if the first point) and dx (x difference of adjacent points, linear x-ramp), you can display real x units (property node for x0 and dx, creating a cluster of (x0,dx,[y]), building a waveform datatype, etc.

 

0 Kudos
Message 4 of 4
(2,324 Views)