Showing results 1 to 4 of 4

Thread: Modified XML of Variables won't change after importing to Editor

  1. #1
    Join Date
    08.05.2018
    Posts
    6

    Ausrufezeichen Modified XML of Variables won't change after importing to Editor

    Hi. I have a Group of variable which are made of a structure datatype. I need to edit some of variables properties, to be exact : Limits[1] and Limits[2] text values.
    I exported them as XML , and edited via a XML editor. when i import it back, it is not changed at all. What should i do?

  2. #
    Join Date
    08.05.2018
    Posts
    6
    Best Answer

    Rotes Gesicht Re: Modified XML of Variables won't change after importing to Editor

    OK, I found the problem.
    Before exporting, i should have selected i variables which i wanted to export, then right clicked on Limit Values on Properties Bar, and selected "Separate all properties from datatype". Then, XML file could be modified and again imported correctly. Otherwise, datatype properties overrides the modified XML.

  3. #2

    Default Re: Modified XML of Variables won't change after importing to Editor

    Hi  Pooyan_s95,

    I'm not sure exactly what you did, but you could check and make sure that in the variable XML import dialog, you set the option to overwrite the existing variables.

    Best regards,
    Mark

  4. #3
    Join Date
    08.05.2018
    Posts
    6

    Unglücklich Re: Modified XML of Variables won't change after importing to Editor

    Quote Originally Posted by markclemens View Post
    Hi  Pooyan_s95,

    I'm not sure exactly what you did, but you could check and make sure that in the variable XML import dialog, you set the option to overwrite the existing variables.

    Best regards,
    Mark
    Hi,
    I set that option to overwrite, but it didn't work.
    I think it has something to do with datatype. I created some boolean variables for test then i exported and modified it with xml editor and it imported correctly. But my desired variable with custom datatype won't change after importing. and all properties are set to default value of datatype after modifying XML and importing.

  5. #4
    Join Date
    08.05.2018
    Posts
    6
    Best Answer

    Rotes Gesicht Re: Modified XML of Variables won't change after importing to Editor

    OK, I found the problem.
    Before exporting, i should have selected i variables which i wanted to export, then right clicked on Limit Values on Properties Bar, and selected "Separate all properties from datatype". Then, XML file could be modified and again imported correctly. Otherwise, datatype properties overrides the modified XML.

Similar Threads

  1. Replies: 3
    Last Post: 22nd August 2014, 10:13
  2. Importing variables from drivers failes
    By roadster in forum Drivers
    Replies: 1
    Last Post: 22nd August 2010, 04:53
  3. Replies: 0
    Last Post: 20th March 2008, 10:20
  4. Importing variables for the IEC870 driver is hanging
    By markclemens in forum zenon Energy Edition
    Replies: 0
    Last Post: 10th December 2007, 13:51
  5. Replies: 0
    Last Post: 10th December 2007, 13:51

Tags for this Thread

Posting Rules

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