LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tempeature stability

Becidea,

I basically wrote the code for you.  You'll have to put in a while loop and translate my pseudocode into LabVIEW.

 

Where are you located?

 

J

0 Kudos
Message 11 of 18
(1,288 Views)

One way would be to calculate a moving average & std dev.  In the attached I created an example temperature profile using ramp and Sinc patterns.  The moving average is an array of 20 elements, worked good for the example, actual length would depend on your sample rate and/or settling time.  I rotated the array so the last element becomes 1st then replace it with the most current measurement.  This way I have an array of 20 most recent measurements. Then calculate the average and std dev of the array.  Set the limits (& length of array) to meet your stability requirements.

 

MovingAverage.png

 

Message 12 of 18
(1,280 Views)

Hi Jose, I am located in Turkey. You said that you wrote a code, how can I take it?

 

Best.

0 Kudos
Message 13 of 18
(1,258 Views)

Dear CTF, Thank you for your efford. appriciated.

 

Can I take its vi file.

 

Best.

0 Kudos
Message 14 of 18
(1,256 Views)

I have drown this vi but unfortunatelly I couldn't find an icon added in pic.

 

thanks again

best.Untitled.png

0 Kudos
Message 15 of 18
(1,226 Views)

I have found and done it. But I need to know about scalar and upper of lower limits. how they work

 

Best.

0 Kudos
Message 16 of 18
(1,212 Views)

In this code, you can set an upper limit (or lower)  for what temperature average indicates stability. For example, if you want it to consider an average of 302 K unstable, you would set upper limit to be 302 K. The "In Range" function that follows will indicate when your average has gone above the range and you can react accordingly. You'll just have to decide what you want your Average range and Standard Deviation range to be for your application.

0 Kudos
Message 17 of 18
(1,188 Views)

I see your point. I am going to apply this vi to my vi. I don't know how to do that but I will try:)

thank you .standart deviation mean here: such as temperature what I want is 300K, +/-2 K deviation, then 302K/298K is stable for me!..right?

0 Kudos
Message 18 of 18
(1,184 Views)