Automation Scripting

Socket API Automation Scripting

The scripting API allows users to programmatically configure our software and trigger captures.

This socket API download requires the latest Saleae beta—1.2.5. If you need to use an older version of the Saleae software, please contact us.

Version 1.2.5+ Socket Interface C# Example Application and Documentation:

Please contact us if you have any questions or feedback. The scripting interface will continue to evolve as we receive feedback from our customers.

Enable the Logic Software for Scripting

We highly recommend suppressing notifications and error messages while running your automation script. These notifications may block normal operation and can be suppressed by starting the application with the command line option below.

  1. Check that you are using the latest version of the Logic software.

  2. Open Options Menu

  3. Select Preferences

  4. Open Developer Tab

  5. Check box to enable socket server

  6. Save Changes

  7. (platform specific) accept firewall changes

Third-Party Implementations

C# data logging UI:

C# logging console application:

Python wrapper:

Python sample application:

If you would like to share your application, feel free to send us a link to it on any repository hosting provider, and we can share that link here.

Command Line Option

For automated environments, you can launch the Logic software with a -socket command line option to cause the socket server to be enabled by default.