Showing results 1 to 6 of 6

Thread: Dynamic Limit Text and string variable value

  1. #1

    Default Dynamic Limit Text and string variable value

    Hello, colleagues!

    We have string variable, each change of which should generate message in CEL with text, based on current value of this string variable.

    We try to use Dynamic Limit Text to realize this.
    We use string-Rema with only state (state-by-default) and checked flag "Threat each change as limit violation".
    In Limit Text we wrote
    $test;%text
    where "text" is name of changed string variable.
    As result at each violation of text value we have new message in CEL with text
    test>>>
    and end part of this text is >>> no difference what exact string value has "text" variable.

    What we did wrong?

  2. #2
    Join Date
    30.05.2007
    Location
    Salzburg
    Posts
    879

    Default Re: Dynamic Limit Text and string variable value

    If you simply want to create CEL-entries everytime the value of the string variable changes:
    - create a String-Reactionsmatrix
    - create a new status
    - at "Value" choose any
    - activate the checkbox "Treat each change of value as new limit violation"
    - activate the chechbox "In Chronological Event List"
    -> link this created Rema to the variable

    regards,
    herbert

  3. #3

    Default Re: Dynamic Limit Text and string variable value

    Thanks herberto,
    I repeat your sequence,
    and result is the same -
    >>>
    instead of string value of variable.
    P.S.
    this is situation in zenon7 build5,
    I repeat everything in in zenon6.51 build 14 and it works fine!

  4. #4
    Join Date
    30.05.2007
    Location
    Salzburg
    Posts
    879

    Default Re: Dynamic Limit Text and string variable value

    does it work if you link this string-variable to a dynamic text element on the CEL-screen?

  5. #5

    Default Re: Dynamic Limit Text and string variable value

    I'm sorry,

    it was just error in Limit Text string!

    Question is closed, it works fine on zenon7 build5 too..

    PS. >>> in CEL means that there is no variable with such name in project.

    PPS. This is not neccessary to create new state in rema, configuring "default value" state is enough.
    Last edited by stolyarov_as : 22nd March 2013 at 07:20

  6. #6
    Join Date
    30.05.2007
    Location
    Salzburg
    Posts
    879

    Default Re: Dynamic Limit Text and string variable value



    glad to hear that everything is working now as i should ....

    regards,
    herbert

Similar Threads

  1. Replies: 2
    Last Post: 16th August 2012, 14:19
  2. Why Dynamic Limit Text allows only 1 variable?
    By batabaha in forum zenon Supervisor
    Replies: 2
    Last Post: 1st May 2012, 23:51
  3. Dynamic limit texts in structure datatypes
    By lew in forum zenon Supervisor
    Replies: 1
    Last Post: 9th January 2012, 00:50
  4. Dynamic limit texts with hexadecimal value
    By lew in forum zenon Supervisor
    Replies: 1
    Last Post: 9th January 2012, 00:41
  5. Limit Text - Display ID or Name of variable
    By craigdouglas in forum zenon Supervisor
    Replies: 5
    Last Post: 9th December 2008, 15:23

Posting Rules

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