Showing results 1 to 5 of 5

Thread: @Modify spontaneous value (0.000000)

  1. #1
    joulz Gast

    Default @Modify spontaneous value (0.000000)

    I have put two variables in a onlinecontainer.
    of these variables i have switched off the setting : "Logging in CEL: Setting value with VBA"
    But still i get a message : @Modify spontaneous value (0.000000)

    How can I surpress this message.

    Thanks in advance

  2. #2
    Join Date
    30.05.2007
    Location
    Salzburg
    Posts
    879

    Default Re: @Modify spontaneous value (0.000000)

    Hi,

    If the variable property ("Logging in CEL: Setting value with VBA") is deactivated no CEL entry will be written if a setvalue action is executed via VBA.... (i made just before a test to be sure).

    Is it possible that you write the CEL entries by yourself?
    -> with Cel.WriteCelString or with Cel.WriteCelStringEx ??

    Regards,
    Herbert

  3. #3
    joulz Gast

    Default Re: @Modify spontaneous value (0.000000)

    But the strange thing is that Im not doing a setvalue action in VBA. Tha variable is only added to the onlineContainer (This is because I want to detect a change in the variable) and it's in the OnlineContainerChange procedure where I test the variable

    additional information:
    The variable is a Feedbacksignal (doublepoint) of a circuitbreaker. What I have seen is that the message will occure whenever I select the breaker or whenever the breaker got deselected. (so not valuechange but a statuschange)

    I hope this will help

  4. #4
    Join Date
    30.05.2007
    Location
    Salzburg
    Posts
    879

    Default Re: @Modify spontaneous value (0.000000)

    Is there a limit on Feedback-Variable configured?
    If so... is the check box at the variable limit "in CEL" activated (category "Alarm/CEL[1]")?

    Regards,
    Herbert

  5. #5
    joulz Gast

    Default Re: @Modify spontaneous value (0.000000)

    I have checked the code again and I found out that there was a variable set in VBA which caused the event. after I had disabled the property :Setting value with VBA of that variable
    I got rid of the event

    Thanks for the help

Similar Threads

  1. modify Scheduler with VBA
    By rloureiro in forum VBA
    Replies: 3
    Last Post: 3rd March 2019, 22:04

Posting Rules

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