34

Virtual "analog" channel based off of protocol analyzer results


B
Borna

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.

A

Activity Newest / Oldest

Avatar

Tim

(#63170)
"Is it now possible to display position over time in the logic2 software and export that data to a file?"


Avatar

Tim

(#62075)
"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"


Avatar

Tim

Merged with: Generate a new channel based on data from other channels

R

Rei

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.


Avatar

Tim

(#55110)
"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"


Avatar

Tim

(#58318)
"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."


Avatar

Tim

discuss.saleae.com/t/plotting-result-from-hi-level-analyzer/824
Hi!

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.

So?

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.

Regards
Maciek


M

Maciej

Hi,

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.


G

Gleb

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


Avatar

Tim

Merged with: Envelop of the PWM signal

Avatar

Peter Jaquiery

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


N

Neel

Status changed to: Open

R

Rei

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.


  • J
S

Saleae

We're definitely planning on building this :)
No timeline though, might take a while


  • B
B

Borna

That is awesome. Can't wait.


S

Saleae

Status changed to: Planned

Avatar

Peter Jaquiery

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).


  • K
  • S
  • J
Avatar

Collin Kidder

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.