[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

linear increasing value



Hello, 

I have little urgent question: 

Is it possible to create a linear increasing value pending of an input signal 


Input signal 1 or 0 
Increasing value form for example 0 to 30 increased by 5 every 30minuts. 


I would like build something like that: 


time     input signal      output 

. 
. 
. 
. 
23            0              0 
23.5          1              5 
24            1             10 
24.5          1             15 
25            1             20 
25.5          1             25 
26            1             30 
26.5          1             30 
27            1             30 
27.5          0              0 
. 
. 
. 
. 
300           1              5 
300.5         1             10 
301           1             15 
301.5         0              0 


and so on. 

Has anyone an idea how I can realize that? 

Thanks for your Help 

bye, 
  Alfred Haider