Enable protocol analyzers to output one or many numerical values that can be displayed as an analog trace.
This would help look at protocols that are sending data periodically to be decoded and looks at how the values are changing over time.
The High Level Analyzer (HLA) feature in Logic 2 is great. It lets us extract specific values from proprietary/custom protocols. It would be great to visualize the extracted values in custom waveforms. This could be realized by using "virtual analog channels". However, continuous equidistant "sampling" (or generation of values) should not be a 'must requirement'.
This would help a lot to visualize system internals. Otherwise, workarounds could do the trick (e.g. streaming the data over another interface to some other visualization tool).
"I am working with PWM for motor control, where the PWM duty cycle will vary sinusoidally.
I would like to visualize the duty cycle variation in the Logic waveform display. So that I would see the sine wave overlayed the PWM waveform, or possible displayed below it.
I could write such an extension if possible. From a quick look so far at the extension documentation, I don’t see a way to annotate the waveform or create a new one for display. Is this possible?
And/or does somethink like this already exist?
"I’d like to create a custom extension+hla to convert data from say an UART or I2C log to something that is visualised the same way as the analog channels would do.
I might have missed this in the docs, but if it doesn’t exist, I’d really like to see this feature:
HLA option to show as analog waveform
simple config to define the scale etc
bonus being able to inject markers on the fly"
"A bit a side-topic: The ability to use virtual channels in the Logic-Software. E.g. we have a quadrature-signal (AB) from a distance sensor and would like to visualize it as analog signal."
"I’d like to take a digital channel, calculate the duty cycle, then create a new digital signal (a math function) that just represents this duty cycle as a signal level from 0 - 100%. This type of functionality is on a high end scope, so when you have a zoomed out perspective you can look at the PWM trend as a scope plot. Glitches in the PWM trend can point to issues."
"Is it now possible to display position over time in the logic2 software and export that data to a file?"
"e.g. a SPI current sensor output could be then displayed timealigned with other turly analog acquired signals and other generated signals such as target values and statemachine states...
It would be fine to have to instantiate an HLA for each additional trace to be output"
I would like to turn some metrics of a channel into a new channel.
Example: I’m recording the PWM signal sent to a stepper motor controller.
In this implementation, PWM duty cycle remains stable at ~50% but frequency changes from 127 to 500 Hz. Channel 0 captures steps and Channel 1 the direction.
I would like to display the frequency in an additional channel, for example as an analog measure just below. How to perform that?
Similar question if frequency remains constant but duty cycle changes.
Please refer to [Turn PWM metrics into additional channel](discuss.saleae.com/t/turn-pwm-metrics-into-additional-channel/653) for dataset and screen mockup.
"I'd like to see graph analysis for my PC FAN tachomerer output to compare multiple fans in sense of warmup speed; see attached screenshot, I'd love to see curve for frequency in time domain"
"It would be very nice to have a PWM analyzer, that could show a graph (like for analog channels) on top of the digital data. The graph should show the duty-cycle at the end of each high+low or low+high period, depending on the selection of active level."
I love that I can write simple python script for measurement and protocol analyzers.
I hate that I can’t create “virtual channel and plot on it”. Also hate that I can not combime multple channels in one virtual using arithmetic or logic operators.
Anyway. My idea is to create plot is python and update it “online”. easy… no!!
Logic2 uses its own (not system installed) python3 (currently 3.8) and does not use packages that are installed on system, so matplotlib which I have and use is unavaliable.
I’ve tryed to search for this python internal instalation and install additional library by hand but its wrapped in python38.zip which is in /tmp/.mount-something/ that is mounted read-only.
Is there a way that I could add external libraries to this instalation? - then second question is not needed
Maybe you could add plotting library until there is a way to plot included internally?
Is there any other method that I can try to plot results online?
For example: I have analog values from sensors that are read by SPI analyzer. How to create plot of it without need of: “Export data to txt/csv” -> parse exported file to something usable -> load data to plotting software (gnuplot, LibreOffice Calc whatever…)
Thanks for any advice.
First of all, nice job with Logic2. Hell of a software.
But... Every scope that I use have this little function: logical sum of other channels which is unreplacable.
I think it should be very easy to add virtual channel that is logical or arithemetical function of other channels. It would work same for logial or analog data. And it would be first step for creating virtual channels that are fed with data from python.
Without this functionality your app is like kindergarden. Very nice one but still. As I'm using your Logic 16 Pro this is the only functionality that I really miss.
Similar idea request here:
I generate the PWM according to the sinusoidal law.
Please add on the pulse (or in another pane) the horizontal line at the height proportional to the duty-cycle. connecting these lines pulse by pulse we will see the resulting envelope
There are already several related ideas. ideas.saleae.com/b/feature-requests/turn-pwm-metrics-into-additional-channel/ links to at least three additional ideas
ideas.saleae.com/b/feature-requests/allow-creation-of-analog-traces-based-off-of-protocol-analyzer-results/ and ideas.saleae.com/b/feature-requests/process-analog-channels-to-digital/ are related to this proposal. The first linked idea is planned.
A more general approach as exposed at discuss.saleae.com/t/generate-a-new-channel-based-on-data-from-other-channels/653/5?u=rei_vilo leads to a new title:
+ Generate a new channel based on data from other channels.
We're definitely planning on building this :)
No timeline though, might take a while
If this were an HLA ability (to generate data for an analog trace) it would provide some major power for visualizing all sorts of data including simply showing decoded protocol analyzer output.
Collin's analog to digital gels pretty well with this idea and "simply" becomes an HLA feature (analog channel as data source).
So you mean being able to do something like take a serial stream that encodes temperatures and turn the readings into analog values that then plot on an analog channel? Interesting, I like the idea. Actually, it's nearly the inverse of a feature request I had where analog values would be allowed to be turned into digital outputs. I think both could be two sides of a common SDK where one is allowed to take in one or more channels as input and output one or more channels as output. That probably requires quite a bit of extra work but it'd be cool.