03-14-2023 12:08 PM
I have a simple system that collects temperature from a thermocouple every second. The system is testing part of a DOE standard below that dictates a formula we must use for in the system. For some reason I just cannot wrap my head around how to implement this is LabVIEW (dont make fun of me) This smoothened data must show on the UI while the system is running so it has to analyze it on the fly. I know LabVIEW very well but have never ran into a situation where I have to do any type of filtering on my data WHILE the data is being taken. I am sure this is elementary to most of you but for some reason I am just not getting it.
03-14-2023 12:56 PM
Hi Joe,
@Joe_H wrote:
This smoothened data must show on the UI while the system is running so it has to analyze it on the fly. I know LabVIEW very well but have never ran into a situation where I have to do any type of filtering on my data WHILE the data is being taken.
What have you tried so far?
Where exactly are you stuck?
Have you already employed the PtByPt-Mean VI?
03-14-2023 01:07 PM
I have not tried anything because I really dont understand the equation. LabVIEW programming itself is not the issue. Its more of the mathematical formula and what VI's to use.
03-14-2023 01:42 PM
03-14-2023 02:31 PM
The instructor that gave us the training on this had a program that they will not give us and kept stressing that the data had to be the average of 20 seconds behind and 20 seconds ahead. (n) and (-n)
My thought is to take data at 1 second intervals for 40 seconds. Then starting at point 20 average the previous 20 second and the post 20 sends of data and then just keep doing that till the program ends incrementing the point.
Is there a VI that already does something like this? You mentioned point by point earlier, would that do it?
03-14-2023 02:36 PM
I dont know why but I just cannot get my brain to understand this.
03-14-2023 02:47 PM
It looks like the PtByPt Mean VI may be the trick. But would I set the sample length to 20 or to 40? Based on the Equation.