LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Current time on the X-axis

I am following the Real-time.vi in trying to get my chart to display true time on the x-axis, but, when I apply the method to my own vi, the time on the chart is off (for example: (24-hour) 10:55 true time will read 32:24 on the x-axis. How do I fix this?
0 Kudos
Message 1 of 3
(2,846 Views)
I tried to follow this, looking for the Real-time.vi

Unfortunately I can't find the VI you reference.
😞

I entered the name into the examples search engine but it didn't return a match.
0 Kudos
Message 2 of 3
(2,846 Views)

OK now I will guess,

It sounds like the issue is either the chart and how you are using it OR the time on your system is off.

The example I have included should properly plot the time of readings. In it I have used waveform data types to specify the times of the readings being plotted. The waveform data type is pretty cool once you get used to using it.

The other possibility comes from you refering to a "Real-Time.VI". If you are targeting this app at RT then the time ofn your RT node may be off! If I remeber correctly, the RT targets keep their time in GMT by default.

If this is RT related I suggest follow-up Q's be posted to the LV-RT group.

I hope this help,

Ben


Ben Rayner
Certified LabVIEW Developer
www.DSAutomation.com

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 3
(2,846 Views)