Using the automation library, I export binary data. To calculate the wall time, I need to know, what is the time at t=0. Is there any API to figure this out? Currently, the only way I see is to export as cvs, which I want to avoid.
@leonhard.petzel_1 Can you link me to the automation library you are using? I can double check for you from there.
Hello timreyes! Thank you for looking into this. This is the automation library I use:
https://pypi.org/project/saleae/
I checked the format of binary files here:
The binary files contain fields for begin_time, but those are usually 0. It would be usefull to have this time in posix format (or nanoseconds since epoch).
The only way I see right now is to export as .cvs with iso8601 option set.
BR, Leonhard
@leonhard.petzel_1 The PyPI wrapper that you linked is a Python wrapper created by a community member for our Legacy automation suite that is no longer supported. Although we still provide download links for it as-is for anyone that needs it, we no longer support our legacy Logic 1.x software.
Our latest and supported automation suites can be found linked below:
- Logic analyzer automation: Getting Started - Saleae API Documentation
- MSO automation: Getting Started - Saleae API Documentation
- Latest supported version of the sw: Downloads | Saleae
As a starting point, please feel free to let me know if you run into any issues with getting the above set up!
Hello timreyes,
Looking in the requirements.txt, that is exaclty the library we are using:
logic2-automation==1.0.6
However, we import it as “saleae” in python, that’s why I confused it with the community project. Sorry for the confusion.
I think I found a workaround for the problem. By connecting one unused channel to GND and configuring it as digital channel, we get a lightweight channel to export with iso time format in csv format.