Showing results 1 to 3 of 3

Thread: Function on variable change....

  1. #1
    Join Date

    Frage Function on variable change....

    Is there a way to call a function when a variable value changes, i don't care what the new value is, just that it isn't the same as it was previously.   I always what to call the same function, and the variable value might for example go from 0->1->2->5->1

    Is a numeric RM the best way to do this with all the values possible and just have them calling the same function or is there a way to just say "if variable value has changed call function"?

    Editor Operator 8.2
    RT Operator 8.1

    so no VBSTA etc, just standard functions/scripts.



  2. #2
    Join Date
    Salzburg, AT
    Best Answer

    Default Re: Function on variable change....

    in multi-numeric reaction matrix, create one entry where: 'Value' = "Any", activate the checkbox 'treat each change of value as new limit violation'  and link the wished function as 'Instant'.

  3. #3
    Join Date

    Default Re: Function on variable change....

    Its replies like that which make this forum what it is... 

    thanks, have a good day.

Similar Threads

  1. Change execute function pressing left click
    By carlos_sica in forum VBA
    Replies: 0
    Last Post: 25th October 2016, 11:31
  2. Function parameters - dynamic change
    By vlad_a_m2005 in forum zenon Service Engine Supervisor
    Replies: 6
    Last Post: 12th August 2016, 12:02
  3. Variable Change Event
    By parthbdesai in forum VSTA
    Replies: 2
    Last Post: 23rd February 2016, 10:46
  4. Replies: 3
    Last Post: 23rd October 2013, 22:21

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts