Showing results 1 to 1 of 1

Thread: VBA - New Online Container in zenOn 6.22 (BulkMode)

  1. #1
    Join Date

    Idee VBA - New Online Container in zenOn 6.22 (BulkMode)

    With zenOn 6.22 SP0 a new kind of Variable Online Container has been implemented.
    Using this "Bulk Mode" a faster start of the zenOn Runtime can be guaranteed in comparison to the "normal" Variable Online Container.

    With the "normal" Variable Online Container for every new value of the variable a Change Event is fired -> Private Sub zOLV_VariableChange(ByVal obVar As IVariable)
    So when starting the zenOn Runtime this event will be fired as often as variables have been defined in the Online Container.

    With the "Bulk Mode" -> Private Sub zOLV_VariableBulkChange(....) an array with the changed variables will be returned.

    See below a VBA sample how to do.
    -> if you do not want to add all variables to the Container it is possible to add only those variables which do have a certain pattern within the variablename. I.e. you have 50 variables with the variablename
    - MyS7TCPIP_VAR_1
    - MyS7TCPIP_VAR_2
    - MyS7TCPIP_VAR_50

    ein Test
    Last edited by herberto : 10th February 2009 at 12:56 Reason: removed debug.print message...

Similar Threads

  1. Dynamische Onlinevariablen im Container
    By bzoller in forum VBA
    Replies: 10
    Last Post: 25th September 2008, 14:45
  2. Replies: 0
    Last Post: 19th September 2007, 11:06
  3. Replies: 0
    Last Post: 21st August 2007, 09:35

Posting Rules

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