Code Monkey home page Code Monkey logo

Comments (1)

Marcus10110 avatar Marcus10110 commented on July 30, 2024

Hi @piro-pp,

You can get access to the live UART data while in looping mode using one of our other APIs.
I would suggest looking at our HLA API first. this lets you write a python decoder that processes protocol data from the lower level analyzers as it's produced. In most UART applications, this should be able to run in real time too.
You can learn more here:
https://support.saleae.com/extensions/high-level-analyzer-extensions

This will require a bit of coordination, since you will have 2 instances of your HLA running at the same time. I suggest passing in a setting that they can use to identify themselves.

Alternatively, you could do the same in the C++ analyzer API, by forking our UART analyzer here: https://github.com/saleae/serial-analyzer

You will have the same coordination challenges there too.

Ironically, we use named pipes to connect the analyzers to the terminal in our UI. However it doesn't include the necessary timestamp information required to produce a single ordered stream.

Time sorting multiple analyzers in the terminal view is a priority for us, but it is a challenge, and we haven't committed to it yet. The main problem is that the current terminal implementation does not support inserting, only appending. Our protocol analyzers need to accurately report their progress and guarantee that they won't produce frames from before that timepoint in order for us to be able to guarantee correctly sorted frames. There is a system for that but it's never been validated to this standard, and will likely require modifying each of our analyzers. Alternatively, we could replace the terminal view with something much more complex, but not without a performance hit.

from logic2-automation.

Related Issues (20)

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.