LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Set X axis to time

This is probably real easy, but I can't get it.  I am reading in a text file of saved temperatures from Fieldpoint.  I have the start time of my recording and I want that to show on the x axis.  The total record is 24 hours, so an additional label every 2 hours or so would be fine.  I changed the chart properties to absolute time and I get 20:00:01 for the left of the graph and a 20:00:24 for the right of the graph.  Any ideas?
0 Kudos
Message 1 of 5
(3,170 Views)
As I can see from your description you have only 24 seconds of data. Your graph has now seconds as scaling. But you want hours. Go to the scales tab and then set the multiplier on the X-axis to 3600. 1 hour is equal to 3600 seconds


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 2 of 5
(3,156 Views)
Thanks for the reply.  I figured out the multiplier, but the problem is to get the start time of my file to be the X start on the graph.  My file started at 1:15 PM, but the graph starts at 8:00 AM!
0 Kudos
Message 3 of 5
(3,151 Views)

That will be the offset value in the same tab. And the offset value will be seconds since 1904. So if you want the chart to start on 05-07-2009 08:00, you have to calculate this time to seconds since 1904. Use the "Date/time to seconds" function.

 



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 4 of 5
(3,146 Views)
In case you did not know it. You may set all these values in the block diagram using "Property Node" concept


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 5 of 5
(3,140 Views)