Showing results for 
Search instead for 
Did you mean: 

Creating a continuous updating array of the most recent "x" samples?

Is there a pre-made function that does this already? Haven't been able to find anything. Basically what I'm trying to do is send an array of data points to the Extract Single Tone VI so I can get the phase angle and then get the difference between the voltage and current waveform angles and then calculate power factor. But I'm not sure how to go about creating a continuously updating array 🤔


My example says 1000 samples but that might not be enough, not really important because I can adjust that easily.

lv question.png

0 Kudos
Message 1 of 2

Hi David,


read the help for PtByPt-DataQueue…

Best regards,

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2