Hex Compare can support External Conversion Rules?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ntzwq
    Visitor
    • Jan 2013
    • 3

    Hex Compare can support External Conversion Rules?

    Hex Compare can support External Conversion Rules?
  • Aaron
    Team Scooter
    • Oct 2007
    • 16026

    #2
    Hello,

    Unfortunately, we do not currently support this, but it is on our wishlist.
    Aaron P Scooter Software

    Comment

    • Erik
      Team Scooter
      • Oct 2007
      • 437

      #3
      Can you describe how you would use external conversion in the Hex Compare? Perhaps you could include sample files or screenshots.
      Erik Scooter Software

      Comment

      • ntzwq
        Visitor
        • Jan 2013
        • 3

        #4
        Such as Intel Hex Recordt or Motorola S Record files are text files, but need to comp

        Such as Intel Hex Recordt or Motorola S Record files are text files, but need to compare is binary data.

        Comment

        • Aaron
          Team Scooter
          • Oct 2007
          • 16026

          #5
          Would you be able to send in a pair of sample files to [email protected] ? Please include a link to this forum thread for our reference.
          Aaron P Scooter Software

          Comment

          • Aaron
            Team Scooter
            • Oct 2007
            • 16026

            #6
            Hello,

            For your Intel Hex Records, would they match this format?
            Each line consists of five fields: the record mark (1 character), length (2 chars), offset (4 chars), type (2 chars) and data (rest of line)

            If this is the case, you can use the Data Compare session type, with a new Data format for this file extension. In the Tools menu -> File Format dialog, create a New Data format, and in the Type tab, set the type to Fixed and enter the column widths. You'll need to enter a number for the last column, which could be 100 or 1000. How big do you think it would need to be?

            It looks like the Motorola format would follow a similar workflow, with a new Format using the widths needed for it. Do you files match the format as defined here?:
            http://en.wikipedia.org/wiki/SREC_(file_format)
            Does your fourth column (Address) change in size depending on the Record per row?

            Update: If the column is changing size, you will want to normalize all rows to have the same, largest size column using an External Conversion in the Data Compare.
            Last edited by Aaron; 29-Jan-2013, 11:34 AM. Reason: External Conversion: Data Compare
            Aaron P Scooter Software

            Comment

            • ntzwq
              Visitor
              • Jan 2013
              • 3

              #7
              HEX comparative effect is the best。

              The test sample has been sent [email protected] mailbox, can see the HEX comparative effect is the best。

              Comment

              Working...