LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Smoothening Data From Thermocouple

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.

 

 

6035-2.JPG




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 1 of 7
(918 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(897 Views)

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. 




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 3 of 7
(888 Views)

Hi Joe,

 

it's an ArraySum and a multiplication (from what I see on the downscaled image)…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(875 Views)

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?




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 5 of 7
(866 Views)

I dont know why but I just cannot get my brain to understand this. 




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 6 of 7
(864 Views)

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.




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 7 of 7
(862 Views)