![]() ![]() That uses Python script to do the first part of this: Reg_replace_rules.Īnd I think it wort of worked, BUT the performance was real bad. I have the beginnings of using a regreplace plug in setup to do this. Thought I would try to make a macro that does this, but their macros don't appear to want to include search/replace stuff. ![]() I currently am using sublimetext search and replace. If there was a simple way to do this, it would be great. This up till now was pretty close how I did all of the postings and the like where I then imported this data into Excel and showed the data in forum posts for Bluetooth and joysticks. Note: this last one may not have been exact, maybe depends on how many ,s I need to remove. Then I often convert the IN/OUT/SETUP sequences from one two lines to one line: something like:įind. *,IN.*\n.*,NAK.*\n again replace with nothing But most of the time, I can manipulate this file down to maybe 100-1500 lines of data that I want to look trhough.Īnd I find my self doing a bunch of standard search and replace to start reducing this data.Ī) Remove all SOF files (Start of Frame): Search for.*,SOF.*\n replace with nothing.ī) remove all NAK sequences. I then have the Logic analyzer output the report, which outputs a CSV formatted file which for example might be 50000 lines long. Example trying to figure out the packets that are sent back and forth to a Bluetooth controller to maybe pair with an XBox One controller. In particular, working on the USB Host code, I often use the Saleae Logic Analyzer to capture USB traffic, for maybe 20-30 seconds. Sorry, I know this is probably not the best place to ask, this, but was wondering about suggestions for how to reasonably manipulate a large file, to hopefully cut it down to size and maybe make it into a more usable format. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |