Component ID

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10337
    Jure
    Participant

    Hi,
    we are making software which will auto generate interface xml code, based on the image that we feed it. I am wondering about component ID, it looks that is unique. But I changed value of few components to same ID and it looks that it is still working as it should. What happen if you have duplicate ID for components inside Interface?

    #10338
    Mikhail
    Moderator

    Hi,

    Duplicated component IDs may cause unexpected behavior of Scheme Editor.
    If you generate a scheme by some tool, you should provide unique component IDs.

    #10339
    Jure
    Participant

    Is it possible to get somehow last used ID, or do we need to parse all interface files and find highest ID value?

    #10340
    Mikhail
    Moderator

    Could you describe your software? How does it work?

    #10387
    Jure
    Participant

    We have a separate vision program that scans image of GUI from HMI and generates a file where it says that at x-y position is some element.
    Then we have a program that would generate interface file with position of all element so that person should just have to enter Input channel.
    Both are custom programs build by our company.

    #10388
    Mikhail
    Moderator

    Thank you for the description. Your software is interesting!
    A file *.sch should be loaded to get max component ID. However, you should load it anyway to append new components.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.