Git Product home page Git Product logo

saleaesocketapi's Introduction

Saleae Socket API C# Wrapper and Example Projects

This example was created with Visual Studio 2013 and targets the Microsoft .NET 4.5 runtime. Generally the head of this repo will require the latest Saleae beta. At request, we can also add tags for specific version support. This repo was created alongside the release of the 1.2.5 beta software. Support for older versions is available upon request. The 1.1.18 software was the first major version to include socket API support, and many of the functions have remained unchanged.

The Saleae Logic software includes a TCP socket server which can be used by 3rd party applications to automate common software actions, such as starting and saving captures, changing capture settings, exporting raw data, protocol data, etc.

This does not provide real time access to the raw data from the device, and requires the Saleae Logic desktop application to be running.

Common applications of this API:

  • Breaking long captures into a series of shorter captures, saved back to back in order to reduce memory consumption and allow for significantly loner recordings.
  • Automatically capture and export either raw data or protocol data in automated QA environments, such as production line unit testing, etc.
  • OEM integration into other products as a data acquisition device.

Application Description

The included visual studio solution includes at least two projects:

  • SaleaeSocketApi
  • SaleaeSocketApiExample

The SaleaeSocketApi is a class library that can be easily re-used in other .NET projects, and wraps all of the Logic Software API commands. The main class to consume is SaleaeClient. The SaleaeSocketApiExample is a simple console application that demonstrates the SaleaeSocketApi's main class, SaleaeClient. It will dump information, change settings and start a capture. Other projects might be included, which are likely used for internal testing at Saleae, but are provided as examples. They probably don't completely work.

Documentation can be found in the Doc folder. Feel free to fork and send pull requests, if you find any bugs!

saleaesocketapi's People

Contributors

marcus10110 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.