# Logic Socket API with Logic 2 software

**URL:** <https://discuss.saleae.com/t/logic-socket-api-with-logic-2-software/2659>\
**Category:** Logic 2 Software\
**Created:** [January 15, 2024, 2:47pm UTC](https://discuss.saleae.com/t/logic-socket-api-with-logic-2-software/2659 "2024-01-15T14:47:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sicon76](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@sicon76](https://discuss.saleae.com/u/sicon76)\
**Post date:** [January 15, 2024, 2:47pm UTC](https://discuss.saleae.com/t/logic-socket-api-with-logic-2-software/2659/1 "2024-01-15T14:47:05Z")

</div>

Hi! I’d like to use a TCP connection to control the Logic 2 software as described in the “Logic Socket API Users Guide”, but can’t find the “Enable scripting socket server” box to check (only Automation one), is it still valid for Logic 2 software?

Thank you

---

<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:** [January 16, 2024, 12:14am UTC](https://discuss.saleae.com/t/logic-socket-api-with-logic-2-software/2659/2 "2024-01-16T00:14:36Z")

</div>

@sicon76 The Socket API you are referring to is no longer supported and only works on our legacy Logic 1.x software.

For automation in our Logic 2 software, you’ll want to refer to our Automation API documentation below.  
[https://saleae.github.io/logic2-automation/](https://saleae.github.io/logic2-automation/)

Additionally, you can refer to some example scripts and function use cases below.

> <https://github.com/saleae/logic2-automation/tree/develop/python/tests>
>
> //github.com/saleae/logic2-automation/tree/develop/python/tests

I hope that helps!
