Ideas Test

40 VOTE

Searching through decoded protocols for multiple bytes patterns

Searching through decoded protocols for multiple bytes patterns
When searching through the decoded patterns, I'd like to be able to search for multi-byte patterns. I.E. when I've decoded a channel for Async Serial, and I enter 0xFB10 as a search term, it finds all cases where 0xFB then 0x10 occurred chronologically/sequentially. In the attached example, I would expect all the search terms below to return the waveform epoch.
• 0xFB
• 0xFB10
• 0x100032
• ( The attached is a bad example, but being able to search with ASCII strings would also be great )

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jun 26 2018
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 26, 2018 19:28

    I was monitoring idea list from time to time and I am quite surprised that this idea is not yet planned even though ideas with much lower vote count were started.
    There is already search for single bytes so extending this feature to find sequences of bytes in decoded protocols shouldn't be difficult and looks like many people would benefit from having it.
    Could you please consider adding it to your list?

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 26, 2018 19:28

    I agree, I wish it was done much earlier. We do have a placeholder on the roadmap for protocol search improvements, but it's still too far out to promise when it will be done. (it's about ~10 features out) Right now we're focusing on real time view (beta out now), data processing performance, and the analog graphs. After that should be trigger on protocol, but that's further out and subject to change.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 26, 2018 19:28

    This would be very useful It also doesn't seem to be complex so why It is not available 4 years later.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 26, 2018 19:28

    To expand on "search with ASCII": being able to enter an ASCII string as shown in the decoded data would be king. Entering:

    '212' B ,

    as shown for three successive characters to find that sequence would make my current task MUCH easier. To make parsing the search string sane spaces should be used as separators and would need to be quoted (' ') or entered as hex (0x20) or numeric ('32') characters. Single quote characters could be quoted (''') or entered as hex or numeric values (quoted is much the best option, but none of the options will be obvious).

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 26, 2018 19:28

    I need it

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 26, 2018 19:28

    +1 for arbitrary (multi-byte) search function - I picture this as similar to searching text with regular expressions, but without needing to export the data first

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 26, 2018 19:28

    yes I assumed searching for 0x41,0x42,0x43 would work and it did not.
    I propose comma separated values A,B,C or 0x41,B,0x43
    a smart search to find ascii hex decimal binary -- want extra credit add wild carding bytes like 0x41,*,0x42 or double comma 0x41,,0x43 for don't care bytes.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 26, 2018 19:28

    In addition, I would like to designate specific bit locations in my search pattern as a "don't care".