Sorry if I haven't managed to make myself clear, having a hard time describing any further, but I'll give it a try
🙂My second statement "check if there has been a drop in pressure followed by an increase and then update the indicator with whatever max value of the increase that is" was more me thinking how this might be solved, that you somehow need to check if there really has been a pressure drop, and then if the pressure rise again it would indicate that peak value, regardless if it's lower, the same, or higher than the previous peak. It's not smoething I need implemented if it can be solved otherwise.
Basically, I want to hold the last peak value of every RISE in pressure.
A sequence example:
1.Rise in pressure to 220bar
2.Read and hold peak value of 220bar
3.The presssure falls (still holding the last peak value)
4.The pressure rise again (still holding the last peak value)to 180bar
5.Then read and hold peak value of 180bar
6. and so on.....
I'll check out your example a little later on and see if it works for me.
Many thanks for the feedback so far.
Message Edited by hibux on 05-18-2007 01:13 PM
Message Edited by hibux on 05-18-2007 01:15 PM