# Find out the time of t=0 in automation

**URL:** <https://discuss.saleae.com/t/find-out-the-time-of-t-0-in-automation/3769>\
**Category:** Uncategorized\
**Created:** [July 6, 2026, 12:13pm UTC](https://discuss.saleae.com/t/find-out-the-time-of-t-0-in-automation/3769 "2026-07-06T12:13:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![leonhard.petzel\_1](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@leonhard.petzel\_1](https://discuss.saleae.com/u/leonhard.petzel_1)\
**Post date:** [July 6, 2026, 12:13pm UTC](https://discuss.saleae.com/t/find-out-the-time-of-t-0-in-automation/3769/1 "2026-07-06T12:13:42Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [July 7, 2026, 11:14pm UTC](https://discuss.saleae.com/t/find-out-the-time-of-t-0-in-automation/3769/2 "2026-07-07T23:14:29Z")

</div>

@leonhard.petzel_1 Can you link me to the automation library you are using? I can double check for you from there.

---

<div class="post-metadata">

**Author:** ![leonhard.petzel\_1](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@leonhard.petzel\_1](https://discuss.saleae.com/u/leonhard.petzel_1)\
**Post date:** [July 8, 2026, 6:50am UTC](https://discuss.saleae.com/t/find-out-the-time-of-t-0-in-automation/3769/3 "2026-07-08T06:50:29Z")

</div>

Hello timreyes! Thank you for looking into this. This is the automation library I use:

[https://pypi.org/project/saleae/](https://pypi.org/project/saleae/)

I checked the format of binary files here:

[https://www.saleae.com/support/logic-software/saving-and-exporting-data/binary-and-csv-export-formats-2025-update](https://www.saleae.com/support/logic-software/saving-and-exporting-data/binary-and-csv-export-formats-2025-update)

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

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [July 14, 2026, 7:43pm UTC](https://discuss.saleae.com/t/find-out-the-time-of-t-0-in-automation/3769/4 "2026-07-14T19:43:50Z")

</div>

@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](https://www.saleae.com/support/logic-software/download-and-installation/older-software-releases).

Our latest and supported automation suites can be found linked below:

- Logic analyzer automation: [Getting Started - Saleae API Documentation](https://docs.saleae.com/automation/guides/getting-started)
- MSO automation: [Getting Started - Saleae API Documentation](https://docs.saleae.com/automation/guides/getting-started)
- Latest supported version of the sw: [Downloads | Saleae](https://www.saleae.com/downloads)

As a starting point, please feel free to let me know if you run into any issues with getting the above set up!

---

<div class="post-metadata">

**Author:** ![leonhard.petzel\_1](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@leonhard.petzel\_1](https://discuss.saleae.com/u/leonhard.petzel_1)\
**Post date:** [July 15, 2026, 3:15pm UTC](https://discuss.saleae.com/t/find-out-the-time-of-t-0-in-automation/3769/5 "2026-07-15T15:15:33Z")

</div>

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.
