Showing results 1 to 2 of 2

Thread: dynamically create Alarm Areas

  1. #1
    Join Date
    19.01.2011
    Posts
    1

    Default dynamically create Alarm Areas

    Hi,

    My goal is to write a VSTA macro that will scan the variables in a project and assign an Alarm Area to the variable based on some rules. Is there a method/object available in Zenon that will allow me to create Alarm Areas dynamically from VSTA code?

    If I cannot directly create the Alarm Areas in VSTA, is there a method available that will allow me to import the Alarm Area information from an XML file similar to the variable import from XML.

    e.g

    ActiveDocument.Variables().Import("Variables.xml");

    Mitch.

  2. #2
    Join Date
    30.05.2007
    Location
    Salzburg
    Posts
    881

    Default Re: dynamically create Alarm Areas

    check out this thread: http://www.copadata.com/forums/showthread.php?t=454

    The zenon API interface offers the same possibilities regardless which programming language is used. So you simply have to translate the VBA code to C#/VB.NET.

    Regards,
    Herbert

Similar Threads

  1. Create database IMM
    By dvangenderen in forum Engineering Studio & Service Engine (former zenon Editor & Runtime)
    Replies: 2
    Last Post: 17th October 2011, 12:31
  2. Status variable for alarm areas
    By hicom in forum Engineering Studio & Service Engine (former zenon Editor & Runtime)
    Replies: 2
    Last Post: 24th February 2009, 09:56
  3. Alarm Status Line and Alarm List
    By tomaslipa in forum Engineering Studio & Service Engine (former zenon Editor & Runtime)
    Replies: 1
    Last Post: 21st January 2009, 12:02
  4. Dynamically changing alarm descriptions
    By mattsd in forum Engineering Studio & Service Engine (former zenon Editor & Runtime)
    Replies: 2
    Last Post: 9th November 2007, 10:44

Posting Rules

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