LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time synced chart

Solved!
Go to solution

Hi guys,

 

I have a scrolling chart in my program, plotting a value read from the equipment every 10 seconds or so.

 

The chart has it's own time values, however, I'd like them to display the same time values as the acquisition to excel provides, and the computer clock - this way, when a noticable event occurs, the time noted on the chart will correspond to the event in excel and the possibilitiy of linking it with an occurence in the lab which happened simultaneously.

 

Can anyone suggest a way to go about this?

 

Thanks in advance,

David

0 Kudos
Message 1 of 3
(2,771 Views)
Solution
Accepted by topic author dpg1
A chart does not have it's 'own' time values unless you provide them. Without you providing them by either using a waveform data type or setting the offset amd multiplier, it will default to 1 second. Look at the shipping example called Real-Time Chart. This example uses relative time but is easily made to show absolute time. Remember also that the intended use of a chart is to display a consistent sample rate. If you are doing something with varying sampling, you should be using an XY Graph.
Message 2 of 3
(2,753 Views)

Thanks for the suggestion - I was able to implement that into my chart - very useful! 🙂

0 Kudos
Message 3 of 3
(2,725 Views)