How to reconize a changing Integer parameter channel
Carl 6 years ago in IQANdesign • updated by Gustav Widén (System support) 6 years ago • 4
What can I use to activate a channel when a Integer parameter channel is changed?
For instance, the channel goes from 3 - 4 and I want a true that its different from its previous setting.
We tried the "High or lower" math but it doesn't seem to recognize that its self is bigger or smaller than its self.
Customer support service by UserEcho
Hope this helps.
Here, Integer Value Change Channel will be true for each application cycles where the Integer parameter Channel's value is different from previous application cycle.
The Previous Integer Value Channel saves the Integer parameter Channel's value at the end of every cycle for it to be used in the next application cycle. (Refer the Calculation Order window in the Image above).
You could also use a MAC and calculate the derivative of the Integer Parameter channel. If the derivative is <> 0 then the set an IDC as a flag to say that the Integer Parameter has changed.
Even you can put the calculation code directly on an IDC Channel.
Result := DerivativeOf(Integer Parameter) <> 0