LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display (value, timestamp) data in mixed signal graph

Hello!

 

Let's say a measurement gives an array of numeric values and an array of corresponding timestamp, and the timestamps are not equidistant.

To visualize this data, one can build a cluster of both arrays and wire it to an XY-Graph.

If there are several measurements, one can create an array of each cluster, and wire that to an XY-Graph.

 

Now, I've also measurements of boolean values, and it would be great to use the stacked visualization of a Mixed Signal Graph.

But a Mixed Signal Graph accepts waveforms only, and a waveform consists of a start time, a time increment and an array of data.

 

My measurements...

  • need millisecond resolution
  • might range over a few days
  • are not sampled at constant time intervals
  • contain only very sparse data, i.e. new values every now and then

When converting my data to waveforms, I would have to build large arrays of 86'400'000 entries per day and per measurement, even though a measurement might not contain more than 10 value changes. Quite inefficient...

 

So, I'd like to know if there is any efficient way to display such data similar to what the Mixed Signal Graph does. Maybe, I'm also missing something.

0 Kudos
Message 1 of 2
(2,374 Views)

There's no problem with giving an XY Graph two sets of data with very different numbers of points. If you convert your boolean data into numeric data, maybe even as simply as F=0 and T=1, you can plot it on the XY Graph too. Use a second Y-axis if you want to position it above or below the analog data, and use a step-style interpolation so that its plot rises and falls instantaneously instead of the default which connects the points with diagonal lines.

0 Kudos
Message 2 of 2
(2,368 Views)