LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time stamp not displaying correctly on a binary read in waveform data type

Solved!
Go to solution

I am relatively new to LabVIEW, so would really appreciate assistance with this problem:

 

A colleague wrote a large part of the attached VI. It reads in a saved binary file from another VI running an experiement.

But the "Saved binary data" waveform graph still shows the arbitray sampling count on the x axis (whch I've read is a common issue for LabVIEW newcomers).

 

An indicator wired to "Get waveform time array.vi" shows that the correct timestamps *are* bundled into that WDT.....I cannot get "Saved binary data" to display it as such on its x axis.

 

Therefore I've also tried to plot in manually using an xy graph ("time stamp checking"), though as the pciture shows I'm not having any joy with that either since the data types don't match!

 

In summary, what I want to do is: wire in an arbitrary number of waveforms, all plotted with the same hh:mm:ss dd/mm/yy timestamp on the x axis.

 

Many thanks in advance.

waveform time pic.PNG

0 Kudos
Message 1 of 3
(2,619 Views)
Solution
Accepted by topic author mb497

Right click your graph on the front panel.  Uncheck "Ignore Time Stamp".

Message 2 of 3
(2,609 Views)

EDIT : may  not be relevant after RavensFan post...

 

Hey,

 

In my opinion you should use the XY Graph to plot your values against time. But first it seems that you may have to reconstruct your time array from the info contained in the waveform.

 

Also, if you press CTRL + H to open the context help and hover over the XY Graph, you will notice the it refers to a specific example in the Example Finder. Maybe you should have a look at it.

 

Somme references :

https://www.ni.com/docs/en-US/bundle/labview/page/types-of-graphs-and-charts.html

https://forums.ni.com/t5/LabVIEW/How-do-I-make-an-XY-Graph-plot-points-over-time/td-p/610169

https://forums.ni.com/t5/LabVIEW/Multiple-waveforms-in-a-graph/td-p/971944

https://forums.ni.com/t5/Example-Programs/Waveform-Data-Plot-to-XY-Graph/ta-p/3524278

CLAMaxime -- Kudos are a great way to say thank you
Message 3 of 3
(2,598 Views)