I want to save the Async analyzer’s data because that’s just what’s important, not the 0’s and 1’s and timing from capture data, not the time, character, ASCII code, but just the raw stream of ASCII values in a binary format, say like a remote terminal log. How do I save it?
Hey @zliudr, welcome to our forum!
You can do that via the analyzer menu (click on the three dots next to the analyzer name). We’ll later add an option to export filtered data via the data table.
Let me know if it doesn’t work for you
Thanks. For now I’ll just write a python script to convert the file via the way you described. There’s quite a few use cases for such feature, such as sniffing communication over serial port to understand the protocol or dumping data transmitted over serial etc.
Oh, I misunderstood you!
You know about the export option, but you just want a simple stream.
The best hack around that would be to write your own Python HLA (High-Level Anaylzer) and use it to generate that file
Any quick references to how to do it in Python? I’m going to export just the data in hex and read it in and convert into bytes array and write into a binary file in Python. If it’s not too hard to make a high level analyzer on top of Async, I’d be happy to try because is sounds like I could do more if I go down that route.
It shouldn’t take more than 5 minutes to write that
You pretty much want to create the writer in your
init function and write to it in the
Thanks. Bookmarked. I’ll read it when I have more time. For now, a few Python lines with the export file got me what I wanted