LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading out Chart history with X scale

Hello,

 

I am using a chart in a vi and sometimes I read out the chart history via the property node and save it in a spread sheet file.

That works quite good, but I have one problem: the chart history contains only the data, but no information about the X scale, which is the time scale in my case. The chart history is worthless without the X scale.

 

How can I read out the X scale or save the chart history with a x scale or time scale?

 

LabVIEW 7.1

Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
0 Kudos
Message 1 of 5
(3,018 Views)
There are properties for the X Scale.  These properties include Min and Max.  I don't know if two points are specific enough for you though.
--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 2 of 5
(3,012 Views)

Tim,

 

thank you for the quick response. Yes, I know these two properties, Min and Max, but that is not enough, I need the time for each value. I wonder why the chart history does not contain the time?

 

Johannes 

Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
0 Kudos
Message 3 of 5
(3,009 Views)
The property you need is named "Offset and Multiplier" under X and Y scale


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,002 Views)
Neither a chart or graph contains 'time'. Your x axis is simply the number of times you write to the chart. Everyting else is just formatting options with x offset and multiplier properties. Knowing these and the last x value will alow you to create a time array. Since the chart, unlike a graph, has a limited history, you would have to work backwards. In other words, the x max, x multiplier, and x Offset would represent the last time recorded.
0 Kudos
Message 5 of 5
(3,001 Views)