Format – greater than 1000 characters

Forum Home Forums Understanding the Software Format – greater than 1000 characters

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16938
    WayneS
    Participant

    Greetings

    Is it possible to have a format with more than 1000 characters? I have some registers whose values can be 0-600 and each value represents a different status – e.g.

    RFI Overcurrent Persistent = 252
    Voltage difference exceeded = 253
    VDC not reached = 254
    Battery open detection = 255

    Using enum format I quickly hit the 1000 character limit

    thanks

    #16939
    manjey73
    Participant

    Wow. I didn’t expect that there could be so many enumerations. I used Text in SVG when I had an enumeration with omissions in the values. And I used dynamic drawings and a collection to control the output, respectively.

    The situation is a little different, but this is how you can work around this problem.

    #16941
    Mikhail
    Moderator

    Hello,
    You could manually edit Format.xml in a text editor, e.g. Notepad++.
    Then reload the project or configuration database.

    #16942
    Mikhail
    Moderator

    The string length is limited by the Administrator application. Actual length can be bigger.

    #16944
    WayneS
    Participant

    Thank you for the replies. The dynamic drawings/collection is a good option, albeit alot of work. I will try editing the format.xml and see how it goes. This should be relatively easy as I have the values in a spreadsheet. Incidentally I have mutiple registers with different meanings/text.

    regards Wayne

    #16945
    WayneS
    Participant

    Thanks all, Editing the format.xml in notepad++ worked 100%. I have now have some formats of 5000 characters long. I used excel and notepad to create the format and place in format.xml, then reloaded the application and downloaded it to test.

    regards

    Wayne

    #16948
    Mikhail
    Moderator

    Thank you for the update.
    Note that in the Format column, it’s possible to write one value per line without semicolons. It may be more comfortable to edit.

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