09-22-2011 09:24 AM
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
09-22-2011 01:20 PM
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.
10-10-2011 06:54 AM
Hi Jose, I am located in Turkey. You said that you wrote a code, how can I take it?
Best.
10-10-2011 07:24 AM
Dear CTF, Thank you for your efford. appriciated.
Can I take its vi file.
Best.
10-11-2011 04:34 PM
I have drown this vi but unfortunatelly I couldn't find an icon added in pic.
thanks again
best.
10-12-2011 04:45 AM
I have found and done it. But I need to know about scalar and upper of lower limits. how they work
Best.
10-12-2011 03:08 PM
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.
10-12-2011 03:50 PM
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?