engineering Posted January 6, 2018 Report Share Posted January 6, 2018 Hi and Happy New 2018 all! Maybe this will sound like a dumb question, I am beginner in programming in VisiLogic, so is there any way to compare current value received from an analog input with a previous value received from the same input. I have tried to use the 'Store Direct' with MI0(analog input operand) value to be stored in MI1 and tried compare MI0(A) with MI1(B), but it always gives me the same value. How to memorize previous value and be compared with the current? How to make MI1 hold the previous value, MI0 to hold the current, and untile they are compared MI1 is not overwritten by the current value? Thank you in advance. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.