LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to input both new data and state data with RMS pt by pt?

Solved!
Go to solution

@altenbach wrote:
Assuming that the history size and number of channels remains constant during the run, you could probably take my old multichannel mean ptbypt and change it do calculate RMS instead. should be trivial.

Here's a quick draft to get you started (some things could be optimized further, of course)

 

You would replace the FOR loop that simulates data with your hardware IO, of course.

 

altenbach_0-1740515517631.png

 

Message 11 of 13
(197 Views)

This helps a lot, thank you very much! If you don't mind my asking, how does the piece labeled 'history' wired into the top of the while loop work? 

0 Kudos
Message 12 of 13
(163 Views)

Hi Bryan,

 


@Bryan7 wrote:

how does the piece labeled 'history' wired into the top of the while loop work? 


That's a property node of the chart.

The chart history gets deleted before entering the loop by writing an empty array…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 13 of 13
(156 Views)