Showing results 1 to 6 of 6

Thread: AK Driver Properties

  1. #1

    Default AK Driver Properties

    Hello Gents,

    Because of a long story i would like to check AK Variables "Marker" property in VSTA for all my variables. For testing of one variable i used;

    this.Variables().Item("Variable1").get_DynProperties("MERKER")ToString();

    but it is not working. Does anyone have any idea??

  2. #2

    Default Re: AK Driver Properties

    Hi yavaskoray,

    I'm not sure about the AK driver, if you really want to know if or how this is possible, I would suggest to contact siemens energy support.

    What you could try though is to XML export the variable from the editor, and look in the XML file how the merker property is called, Then try and use the exact same property name in your VSTA macro.

    Note, that dynproperties are case sensitive!

    Best regards,
    Mark

  3. #3

    Default Re: AK Driver Properties

    Quote Originally Posted by markclemens View Post
    Hi yavaskoray,

    I'm not sure about the AK driver, if you really want to know if or how this is possible, I would suggest to contact siemens energy support.

    What you could try though is to XML export the variable from the editor, and look in the XML file how the merker property is called, Then try and use the exact same property name in your VSTA macro.

    Note, that dynproperties are case sensitive!

    Best regards,
    Mark
    Hi, I used the same name with exports file in there it is "MERKER" also

  4. #4

    Default Re: AK Driver Properties

    It may be that this dynproperty is only available in the zenon editor and not in the runtime.

    Have you tried if you can access it in the zenon editor or in the runtime?

  5. #5

    Default Re: AK Driver Properties

    Hi, I tried in runtime, i could not solve...
    I solved my problem with exporting variables with extended export to a DB file and open it with excel. I could easily filter "MERKER" property and checked my variables.

  6. #6
    martins Gast

    Default AW: AK Driver Properties

    Quote Originally Posted by yavaskoray View Post
    Hello Gents,

    Because of a long story i would like to check AK Variables "Marker" property in VSTA for all my variables. For testing of one variable i used;

    this.Variables().Item("Variable1").get_DynProperties("MERKER")ToString();

    but it is not working. Does anyone have any idea??
    hi,

    I also don't know much about the AKDriver, but maybe it is because DynProperties are case sensitive. You could check with the DynPropertiesEnum how it is called exactly.

    best regards,
    Martin

Similar Threads

  1. Replies: 8
    Last Post: 18th March 2015, 11:30
  2. Replies: 1
    Last Post: 2nd August 2011, 10:21
  3. Access properties in symbols
    By antoniazzi in forum VBA
    Replies: 1
    Last Post: 10th August 2010, 23:33
  4. Replies: 6
    Last Post: 1st December 2009, 12:56

Posting Rules

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