LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Chart History buffer

Hi,
Can any body guide me as to how to access the chart history data in the form of arrays?.. I have dynamic data in the chart history buffer and I need to access it to do standard deviation and mean.
Thanks.
0 Kudos
Message 1 of 7
(2,996 Views)
Create a propery node for your chart and get item "History data" (It is all the way at the bottom :)).
0 Kudos
Message 2 of 7
(2,989 Views)
Well.. i tried that before.. but since the data was dynamica and reala time, it didnt let me connect it to the standard deviation and mean vi. Any suggestions?.. I need to calculate it for 250 samples on the fly..
0 Kudos
Message 3 of 7
(2,983 Views)
Ahhh... dynamic data, something I don't use much.
( You're correct, it does not seem to work right using the history data, but maybe I am not doing it right. ;))

As an alternative, you could use a collector express VI with the buffer matched to the history data. See attached (LabVIEW 7.1).
0 Kudos
Message 4 of 7
(2,979 Views)
Hi..I have LabView 7.0.. any chance I can get the vi in the 7.0 version?..
Thanks
0 Kudos
Message 5 of 7
(2,977 Views)
Message 6 of 7
(2,970 Views)
That was great. But I beleive we can get the same result by using Sd PtByPt and Mean PtbyPt vis and connecting the signal to it and mentioning the number of samples. What I actually had in mind was..for example get sd and mean for 250 samples, and repeat the same for consecutive 250 samples. The methods you and I are using currently gies sd and mean for say 1 to 250, 2 to 251,.. so on updating as sonn as it gets a new sample..if I am havingdata at 50 hz, the mean and sd should update every 5 seconds. But now it updates for every sample...Any more suggestions?
thanks
0 Kudos
Message 7 of 7
(2,964 Views)