Hi,
Is it possible to implement custom analyzers with the current Logic 2.1 alpha releases?
Is the API compliant with Logic 1.x SDK, or is there a new API (existing or planned)?
Thanks,
Emmanuel.
Hi,
Is it possible to implement custom analyzers with the current Logic 2.1 alpha releases?
Is the API compliant with Logic 1.x SDK, or is there a new API (existing or planned)?
Thanks,
Emmanuel.
Unfortunately, it’s not possible at the moment. However, it’s high on our radar and we plan to add that soon. We’ll probably support both Python analyzer (with a new SDK) and the old C++ SDK, but I can’t promise that
There is no API yet. Is there any thing that you’d like to see in the API once we build it? We’d love to hear your needs.
Thanks!
Rani
Ok, so I’ll keep going with Logic 1.x for now.
Python API will be a great addition.
What I think is definitely missing with Logic 1.x:
As an example, I’ve implemented a RFID PIE command decoder:
Thanks,
Emmanuel.
Thanks for the detailed feedback. It’s super helpful!!!
We’ll share the planned API here in a few weeks and we’d to get your feedback on it
Thanks again,
Rani
Complex information:
The best would be to have expandable trees, with arbitrary unicode strings as items. Example: for now I can only print out “Q” for “Query” (and “q” for invalid ones), as the only available format is an ASCII char. It is quite hard to interpret.
I’ll try to reproduce the error and send you the data. Is there a private channel available to send you the data?
If background color selection is not possible, maybe some kind of bezel/outline? Anything that easily identify issues would do it, as with Logic 1.x, there is no easy way to locate such errors.
Yes: it is is not clear whether the demo generates random data or data from the selected protocol … analyzer which acts as a generator/synthesizer.
I will be nice to have something like:
Sorry for the stamp size, macOS is becoming a pile of s… and timemachine now fails miserably.
Thanks a lot for the ideas and feedback!
I was also wondering if custom analyzers were supported on these alpha builds. So far it does not look like it is.
I have one that I have done most of the development on, that I use when I am working with Servos by Robotis (Dynamixel Servos), which is up at: https://github.com/KurtE/SaleaeDynamixelAnalyzer
Would be great to be able to port that over to the new system. Or better yet if Saleae did
Officially, not yet, unfortunately. If you’ll drop the DLL at the right place it would probably work though
We’re working on supporting custom analyzers, both for raw data and high-level analyzers. I’m hoping to share our roadmap soon so you’ll know which features are still in the pipeline.
Thanks,
I have copied in the DLL and it does appear to load :D, I have not done any real tests with it yet, as have been busy with other projects. But will be back to it soon.
Thought I would mention that I tried loading up my Dynamixel analyzer again today on Beta 16 and it appears to be working. At least the on screen stuff As you can see in the picture:
The top two channels are the raw Serial Tx and RX pins, and the third line is the Serial direction channel (as the communications is half duplex)
The bottom line is the one out of my Analyzer code, showing some ping commands and response back from servo.
The data is also showing up in the decoded protocols as well. Obviously can not test if the export functions work here yet.
This is awesome!
We’ll add a proper way to add custom analyzers soon
Hi folks,
Could you please add an option to specify a search path to the analyzer plugins just in the 1.x version:
Yes, we’ll add an option to load custom analyzers in a couple of weeks
Cool thanks!
Hi, is there any news regarding / documentation for any custom analyzer API (Python or C++) for the Logic 2.x software in the meantime?
Hi @cg1, custom analyzers that were created using our Protocol Analyzer SDK below are compatible with Logic 2.
Instructions for installing custom analyzers in Logic 2 are below:
Hope this helps!
Hi timreyes, thank you for your reply. I already have an analyzer that works well with the 1.x software. It also works for the 2.x software, bubble text is visible and the data table is populated. The data table content is what I have an issue with. In the Logic 1.x software there is no true table but just the results window pane where you add strings. In the Logic 2.x software, however, is a true table with multiple columns but my results are always shown as type “framev1” and the value column has the string that is generated in my analyzer for the logic 1.x results window output. See screenshot.
When you code an HLA every property of the data object you return as a result type gets turned into a column and the “Type” column is chosen from the result type name. See here:
What I would like to do is have this true results table data output in my “normal” analyzer, not in a high level analyzer. Is this possible?
@cg1 Sorry for my late reply with this. We reviewed this feature with the team recently. We plan to eventually support this, but not for quite some time.
v1frame is the simple frame type (single column value) that was supported in Logic 1 for all of our analyzers. The next-gen frame type (multi-column) is only supported by a handful of our pre-installed analyzers, but not currently available for custom analyzers unfortunately.
I went ahead and logged this idea below:
Please feel free to add your vote/comments on it! We’ll monitor interest in it here for now.