# Automation API - High Level Analyzer

**URL:** <https://discuss.saleae.com/t/automation-api-high-level-analyzer/2238>\
**Category:** Support\
**Created:** [May 12, 2023, 10:16pm UTC](https://discuss.saleae.com/t/automation-api-high-level-analyzer/2238 "2023-05-12T22:16:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ddominguezmoises](https://avatars.discourse-cdn.com/v4/letter/d/cc9497/32.png) [@ddominguezmoises](https://discuss.saleae.com/u/ddominguezmoises)\
**Post date:** [May 12, 2023, 10:53pm UTC](https://discuss.saleae.com/t/automation-api-high-level-analyzer/2238/2 "2023-05-12T22:53:58Z")

</div>

Took me a long time and it was the silliest thing. My solution:

```auto
hla = capture.add_high_level_analyzer(extension_directory=os.path.join(os.getcwd(), f'SPI_ADC_HLA'),
                                              name='SPI_ADC_HLA', input_analyzer=spi_analyzer, settings=None)

```

It would be really helpful if Saleae team could provide examples for their automation API. Could have saved some time.

---

_[View the full topic](https://discuss.saleae.com/t/automation-api-high-level-analyzer/2238)._
