Comments (1)
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)
- [Request] Add ability to explore existing channel & device configurations
- Allow access to Measurement Extensions HOT 1
- export functions should accept pathlib.Path as a parameter HOT 1
- [Request] Add ability to name the channels
- [Request] Provides an interface to get the ID of the connected device HOT 3
- [Feature request] Capture status and wait timeout HOT 2
- [Feature request] Close running capture on connect or list/stop running capture HOT 1
- Automation example in C#
- analogSampleRate invalid supplied less than 781250 HOT 1
- Requirements too strict HOT 6
- Package fails to install on M1 Macbook HOT 1
- Same import path as logic1 automation
- Reset Saleae when frozen HOT 2
- Manager connect is stuck
- `pip install logic2-automation` is failing HOT 2
- [Feature Request] C++ Wrapper Library
- Logic GUI says "export completed" when `export_data_table` called with non-existant directory (Python exception is thrown correctly)
- When `export_raw_data_csv` or `export_raw_data_binary` is called with non-existent direcroy, no Python exception and wrong Logic GUI error message
- Unhandled error in Logic GUI when `save_capture` called with non-existent directory
- No GUI error or Python exception when `legacy_export_analyzer` called with non-existant directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logic2-automation.