waveform graph with timestamp

waveform graph with timestamp

Post by Tim C » Sun, 16 Sep 2007 22:40:06


I have 5 arrays of data, 4 are data values and 1 is the UTC seconds.  I want to use a waveform graph as it smooths the plots so the traces look
more rounded compared to an XY Graph.  I have experimented with bundle and build waveform setups but the best  I have been able to do is to get the timestamp along the X axis but no data shows up in the graph  or all the data shows up as but it looks like the axis is swapped but the timestamp is still at the bottom.
 
Does anyone know why the waveform graph plots are smoother than the XY Graph plots.  If I knew this answer I could use the XYGraph instead.
 
Thanks
Tim C.
 
 
 

waveform graph with timestamp

Post by Dennis Knu » Mon, 17 Sep 2007 00:40:05

I don't notice a difference between an XY Graph and a Waveform Graph if the dt on both are the same and assuming all of the other attributes (interpolation, point style, range, etc.) are the same as shown below. To create a waveform graph and assuming that the dt is constant in your time array, you can do something like the other image. An XY graph is normally used only when the intervals on the x axis are not constant. If you see a difference, you should post your VI (with data in the arrays) so that someone can look at it.
<img src=" http://www.yqcomputer.com/ %20Graph%20versus%20XY%20Graph.PNG">
 
<img src=" http://www.yqcomputer.com/ %20Waveform.PNG"> Message Edited by Dennis Knutson on 09-15-2007 09:38 AM


Waveform Graph versus XY Graph.PNG:
http://www.yqcomputer.com/


Build Waveform.PNG:
http://www.yqcomputer.com/

 
 
 

waveform graph with timestamp

Post by Tim C » Tue, 18 Sep 2007 10:10:04

Hello
 
I wired the Waveform graph following the build waveshape function and the X axis is showing the time starting at 1903,  but when I take the same daa arrays and send them to a XY Graph the X axis shows correct.  Does anyone have a suggestion for this.....
 
Thanks
Tim C.