# HLA issues with 2.4.21

**URL:** https://discuss.saleae.com/t/hla-issues-with-2-4-21/3166
**Category:** Extensions
**Created:** [November 27, 2024, 1:34am UTC](https://discuss.saleae.com/t/hla-issues-with-2-4-21/3166 "2024-11-27T01:34:33Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![bcr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/bcr/32/1845_2.png) [@bcr](https://discuss.saleae.com/u/bcr)
#### Post date: [November 27, 2024, 1:34am UTC](https://discuss.saleae.com/t/hla-issues-with-2-4-21/3166/1 "2024-11-27T01:34:33Z")

</div>

I have the following problems with HLAs in Logic 2.4.21.

- Not honoring formatting from `result_types` in my HLA main class. This was working as expected in 2.4.14.
- When reloading my HLA via Reload Source, status reports 0% and stays there. Reload seems to be working fine.
- Still using Python 3.8.18 which is now officially unsupported and end-of-life. This will be an ongoing maintenance requirement to stay ahead of their published schedule.

---

<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: [November 27, 2024, 9:31pm UTC](https://discuss.saleae.com/t/hla-issues-with-2-4-21/3166/2 "2024-11-27T21:31:43Z")

</div>

@bcr Sorry for the trouble with that, and thanks for the feedback.

1. For the issue with not honoring formatting from `result_types`, can you share your HLA source code with us, along with an example [capture file](https://support.saleae.com/user-guide/using-logic/saving-loading-and-exporting-data) (in .sal file format) where we can immediately load your HLA and test this behavior on? If there are any LLA/HLA settings we should be aware of as well that would reproduce the issue, let us know. We would like to test this on 2.4.14 and 2.4.21.
2. We’ll test the “Reload Source” functionality using your provided HLA as well
3. As for updating Python, this is on our backlog, but unfortunately, we are not able to commit to working on it yet due to other priority projects. We’re tracking this below however, and I’ve added a comment for you to track your need for this as well.

> **[Update Python to version 3.10 for Software Extensions - Logic 2 - Ideas and...](https://ideas.saleae.com/b/feature-requests/update-python-to-version-310-for-software-extensions/)**
>
> The new Structural Pattern Matching feature of Python 3.10 would come in really handy for HLAs!

---

<div class="post-metadata">

### Author: ![bcr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/bcr/32/1845_2.png) [@bcr](https://discuss.saleae.com/u/bcr)
#### Post date: [November 27, 2024, 10:48pm UTC](https://discuss.saleae.com/t/hla-issues-with-2-4-21/3166/3 "2024-11-27T22:48:29Z")

</div>

This is all employer stuff, so nope, not getting that, so I’ll have to make a sanitized version of some sort. ETA sometime next week.

When you tried an HLA according to the instructions at [High-Level Analyzer (HLA) Extensions | Saleae Support](https://support.saleae.com/extensions/high-level-analyzer-extensions) and using the result\_types method in that example, did it work for you?

---

<div class="post-metadata">

### Author: ![bcr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/bcr/32/1845_2.png) [@bcr](https://discuss.saleae.com/u/bcr)
#### Post date: [November 27, 2024, 11:57pm UTC](https://discuss.saleae.com/t/hla-issues-with-2-4-21/3166/4 "2024-11-27T23:57:35Z")

</div>

The repro steps I have. These are derived from [High-Level Analyzer (HLA) Extensions | Saleae Support](https://support.saleae.com/extensions/high-level-analyzer-extensions)

1. From Logic 2 4.14, create a new HLA extension
2. Download the hla-quickstart sample data
3. Load the sample data into Logic 2
4. Attach your new analyzer to the Async Serial analyzer

In Logic 2.4.21, the formatted output is not honoring the values in the `result_types`:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/saleae/original/2X/4/4d70744559d9d403f4a829f59634ea52915def12.png)

In Logic 2.4.14, the formatted output is correct:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/saleae/original/2X/a/a7de690aba30df3484803c28e0e7a72e54ef36d3.png)

---

<div class="post-metadata">

### Author: ![bcr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/bcr/32/1845_2.png) [@bcr](https://discuss.saleae.com/u/bcr)
#### Post date: [November 28, 2024, 12:02am UTC](https://discuss.saleae.com/t/hla-issues-with-2-4-21/3166/5 "2024-11-28T00:02:13Z")

</div>

[hla-quickstart-serial-data.sal](https://discuss.saleae.com/uploads/short-url/j0SQudB3smkPOljpZtxSMdOFsAN.sal) (9.8 KB)  
[MyHla.zip](https://discuss.saleae.com/uploads/short-url/ykUbK09IyUJHy9v7ySJxHa3JlLB.zip) (1.5 KB)

This is the SAL file and the HLA code. It is unchanged from the default created when the extension was created in Logic 2.4.14.

---

<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: [December 5, 2024, 9:33pm UTC](https://discuss.saleae.com/t/hla-issues-with-2-4-21/3166/6 "2024-12-05T21:33:21Z")

</div>

@bcr Thanks again for providing quick reproduction steps. I believe we may have fixed it in the latest release today.

 ![Screenshot 2024-12-05 at 2.32.36 PM](https://canada1.discourse-cdn.com/flex030/uploads/saleae/original/2X/9/99a0130598ac937655d5c26e73ef9cb59a0880a3.png)

The latest update is available below. Could you give that a try on your end as well?

> [@Logic 2.4.22](https://discuss.saleae.com/t/logic-2-4-22/3175):
>
> 2.4.22 Download Links [Windows](https://downloads2.saleae.com/logic2/Logic-2.4.22-windows-x64.exe)[Linux](https://downloads2.saleae.com/logic2/Logic-2.4.22-linux-x64.AppImage)[MacOS [x86\_64]](https://downloads2.saleae.com/logic2/Logic-2.4.22-macos-x64.zip)[MacOS [Apple Silicon]](https://downloads2.saleae.com/logic2/Logic-2.4.22-macos-arm64.zip)Logic 2.4.22 Welcome to the 2.4.22 release of Logic! Much like the last release, 2.4.14, the team has been focusing primarily on still unreleased functionality. That said, quite a bit has changed under the hood. Astute readers may have noticed that we’ve skipped releases 2.4.15 through 2.4.19. These releases went out through a private alpha program. If you would like to learn more, [please let us know](https://contact.saleae.com/hc/en-us/requests/new). We recently release…

---

<div class="post-metadata">

### Author: ![bcr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/bcr/32/1845_2.png) [@bcr](https://discuss.saleae.com/u/bcr)
#### Post date: [December 5, 2024, 11:15pm UTC](https://discuss.saleae.com/t/hla-issues-with-2-4-21/3166/7 "2024-12-05T23:15:47Z")

</div>

Works in my environment, thanks for the update!
