Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Library to control a Saleae

Project description

Build Status Documentation Status

This library implements the control protocol for the Saleae Logic Analyzer. It is based off of the documentation and example here:

IMPORTANT: You must enable the ‘Remote Scripting Server’ in Saleae. Click on “Options” in the top-right, the “Developer” tab, and check “Enable scripting socket server”. This should not require a restart.

This library requires Saleae Logic 1.2.x or greater. Unfortunately there is no way to check the version of Logic running using the scripting protocol so this is difficult to check at runtime.

Currently, this is basically a direct mapping of API calls with some small sanity checking and conveniences. It has not been extensively tested beyond my immediate needs, but it also should not have any known problems.

To get a feel for how the library works and what it can do, try the built-in demo:

#!/usr/bin/env python3
import saleae

Issues, updates, pull requests, etc should be directed to github.


The easiest method is to simply use pip:

(sudo) pip install saleae


import saleae
s = saleae.Saleae()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for saleae, version 0.9.0
Filename, size File type Python version Upload date Hashes
Filename, size saleae-0.9.0-py3-none-any.whl (14.8 kB) File type Wheel Python version 3.7 Upload date Hashes View hashes
Filename, size saleae-0.9.0.tar.gz (15.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page