10-25-2011 04:52 PM
@becidea wrote:
How can I insert it to my vi?
Insert WHAT into your VI?
10-25-2011 05:15 PM
STANDART DEviation
10-25-2011 05:17 PM
As I wrote before, it's under the Mathematics -> Probability and Statistics palette, shouldn't be too hard to find. Drop it on the block diagram in place of the Express VI version that's in your sample code, and you can wire the array of floating points (the thick orange wire) directly to it, without converting to dynamic data. If you are not yet familiar with that much of LabVIEW, you may want to work through some of the tutorials or take a class.
10-26-2011 02:24 AM
Hi
I've attached my VI for how I solved the problem with waiting until stable
10-26-2011 07:53 AM
Dear TBN,
could you please send this vi compatible with earlier version of labview such as LV10
Best.
10-26-2011 08:00 AM
OK
Here it is.
10-31-2011 10:28 AM
I have checked the vi you sent, but I have almost the sam configuration. Temperature is fluctuating around the set point, so with this vi, in the first part of fluctuating will be taken as if temperature stable. but actually it is not like this. Thank you for this vi.
We can use "standart deviation and avarage value". Or, there can be something that I can save every nex 30 data and compare the avarage value of those 30 data with the set point. What do you think about this idea?
besT
10-31-2011 12:12 PM
becidea wrote:
We can use "standart deviation and avarage value". Or, there can be something that I can save every nex 30 data and compare the avarage value of those 30 data with the set point. What do you think about this idea?
I think you should try writing the code and see how it works for you - it should not be difficult. If you get stuck or have specific questions, upload your code.
11-02-2011 09:58 AM
Hi,
this is my vi, when the temperature is in range light the lamps. But this is not stability. Because temperature fluxcuate and several times can be in range. this should be like PID control. I don't know what you can offer me.
Best.
11-02-2011 12:18 PM
@becidea wrote:
this is my vi, when the temperature is in range light the lamps. But this is not stability. Because temperature fluxcuate and several times can be in range. this should be like PID control. I don't know what you can offer me.
I'm sorry, I cannot figure out what you're asking here. Are you saying that your system never becomes stable? Does it eventually reach a stable point, but your code does not detect that properly? If the temperature fluctuates too much, it might be that you need to retune the controller.