gusmanb / logicanalyzer

24 channel, 100Msps logic analyzer hardware and software
GNU General Public License v3.0
2.37k stars 262 forks source link

Add/improve cursors in timeline view for time measurement #92

Closed kylenahas closed 6 months ago

kylenahas commented 1 year ago

It would be very nice to be able to view how long a a signal was in a state. Currently you can mouseover the top timeline labels and see what sample number a transition occurred at (and click to add a marker), but to gather the time a signal was in a state, you'd need to convert between your sample rate frequency and calculate the length by hand. If you could draw cursors and markers on the sample/time axis, this would greatly improve the UX.

I envision this could look something like how oscilloscopes handle cursors and time measurement. See below for reference:

Oscilloscope Time Measurement

kylenahas commented 1 year ago

Just discovered there is a "Measure" feature where highlight a region, then right click on it. Sorry, must've missed that in the docs. Maybe the current behavior can still be improved?