キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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 件の賞賛
メッセージ1/7
3,455件の閲覧回数
Create a propery node for your chart and get item "History data" (It is all the way at the bottom :)).
0 件の賞賛
メッセージ2/7
3,448件の閲覧回数
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 件の賞賛
メッセージ3/7
3,442件の閲覧回数
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 件の賞賛
メッセージ4/7
3,438件の閲覧回数
Hi..I have LabView 7.0.. any chance I can get the vi in the 7.0 version?..
Thanks
0 件の賞賛
メッセージ5/7
3,436件の閲覧回数
メッセージ6/7
3,429件の閲覧回数
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 件の賞賛
メッセージ7/7
3,423件の閲覧回数