I have installed pip install logic2-automation Salaea package and want to use extension clock_stats.py. This feature requires from saleae.range_measurements import DigitalMeasurer. However Salaea python package does not contain package for range_measurements. I get error ModuleNotFoundError: No module named ‘saleae.range_measurements’ Where do I get from saleae.range_measurements implementation.
Thanks and Best
Hi @khulan.bayarsaikhan ,
I have installed pip install logic2-automation Salaea package and want to use extension clock_stats.py.
Sorry for the confusion - the logic2-automation python API is separate from our measurements API. The measurements API is only accessible from a script running within the Logic 2 application.
If you are looking to use the clock stats measurement directly, without modifications, you can install it from the Extensions Marketplace:
If you want to use a modified clock_stats.py, you will need to load the extension from within Logic.
The documentation for extensions (HLAs and Measurements) is available at https://support.saleae.com/extensions/extensions-quickstart
Hope that helps, and let me know if you have any other questions,
This extension is installed. However, it is not listed on python pip package, which I need for automation.
Unfortunately measurements are not available from the automation API. If you can provide more information about your use-case I can try to offer alternatives.