Commit Graph
22 Commits
Author SHA1 Message Date
Leopixelo 614f2fef54 implement seeking in playback window and add playback line in graphing view 2026-06-08 15:13:12 +02:00
Leopixelo a2851653e3 add more shortcuts to main window and graphing window 2026-06-08 15:10:58 +02:00
Leopixelo 539031d5b2 do not rescale y axis of graphing window when changing graph parameters 2026-06-08 15:03:38 +02:00
Collin Kidder 39b43ebf38 Switched up the way time stamp formatting is done. Now tracked by an
enum for easier determination. Also changed graphing window to respect
"system clock" style timestamps and display them properly.
2023-03-15 19:50:58 -04:00
Collin Kidder e1c4046bf1 Graphing window now respects bus number. Set to -1 to allow any bus or
to 0 or a positive number to lock a graph to a specific bus.
2022-11-29 21:15:38 -05:00
Andy Huska 1b41decd20 Custom sender is no longer crashing
There are a TON of explorations I did here, many may be unnecessary, but this is a stake in the ground.

The main issue was the strange queue logic in canconmanager::sendFrame which puts the tx data in the rx
queue so it will show up in the displayed data.  It caused SIGABRT and SIGSEG to show up everywhere.
It is NOT fixed yet, but TX works over the wire you just can't see it in the tableview.

I thought at first it was only when overwrite data was active, so I put in a a pile of changes to keep
frames and filtered frames as two seperate copies of data where frames was always complete and filtered
was only what was seen in the mainwindow.  It made it so the graphing window would work with overwrite
data active which is an improvement.  I wouldn't roll these changes back.  Because of these changes I
had to update the frame sorting code adjust the refresh function in canframemode.cpp

I also thought it was related to UI updates, but its not, that's been confirmed.

I put a mutex around the custom sender tick timer so that the 1ms timer wouldn't re-enter its callback.
This didn't fix the crash, but it sure seems to make a lot of sense, and the way I did it no elasped
time is lost for tracking purposes, and in reality theres no way 1ms was consistent anyway.

I put a mutex around the shrinking of frames and filteredframes to make sure we weren't deleting at
the same time as accessing, but honestly we acccess those lists in many places without semaphores so
that probably did nothing.

Fixed a bug in FrameSenderWindow:DoModifiers that was improperly parsing and sometimes crashing when
looking for the ~ operator before a symbol.

Also added some minor work to keep row expansion functioning when changing filters or sorting.  Need
to make some tweaks so it stops trying so hard when overwrite is not active

Theres also code in main.c taht makes debugging output super verbose.

Committing now to start cleanup
2022-11-01 15:01:07 -05:00
Collin Kidder e4da6237ae Additional work on "Value Table" signals while graphing. Now supports
realtime addition of value table labeling as well as bracketing
2021-05-02 18:55:06 -04:00
Collin Kidder 35c1ef5387 Added ability to create multiple graphing windows that act separately.
Added ability to right check on signals in main view and graph them
directly.
2021-05-02 12:48:47 -04:00
Brian T. Rice 3014002574 extract method 2021-03-14 13:44:47 -07:00
Brian T. Rice 26df0173e8 GraphingWindow: add a menu option 2021-03-13 16:33:54 -08:00
Brian T. Rice 59a29e765c GraphWindow: support double-clicking the axis to resize it to the data 2021-03-13 15:38:01 -08:00
Collin Kidder 2a03b4f35d Added many additional graphing modes. They are loaded/saved in graph
definitions as well.

Incremented version number.
2021-02-18 21:41:42 -05:00
Collin Kidder e4a3854af4 Many little changes to get rid of compile-time warnings.
There now should be no warnings when compiling on LINUX. YMMV elsewhere.
2020-02-15 19:52:18 -05:00
Collin Kidder b6a15a28cd More fixes for compiler warnings - cleaning up code and making assumptions more clear 2019-08-12 22:02:07 -04:00
Collin Kidder b8c83bbfd7 Fix parent for new graph window, fix empty graphs are impossible to
selectively remove or edit, add associated signal to graphs so they
bring up the proper signal in the list on the right in the editing
window.
2019-04-14 17:01:30 -04:00
Collin Kidder b7e8429222 Add a circle on the selected graph where you double clicked on it. Also show text with the coordinates at the clicked graph location 2017-12-14 21:47:18 -05:00
Collin Kidder cbc6115ec4 Make OpenGL graphing mode a setting so you can turn it on/off, sped up
realtime graphing in Graphing Window.

OpenGL mode is pretty and you'll like it if you have a good video
card. But, don't enable it if you do a lot of complex graphing and
you have a crappy built-in Intel or AMD graphics card - your
performance will suffer. Otherwise, if you have a nice card enable it
for a nice graphical boost and maybe a little more speed.
2017-08-30 20:55:33 -04:00
Collin Kidder 7550d04705 Graph Window - fix graph stride, actually works now, added follow mode
Follow mode allows you to set a window size and then have the window
follow as data comes in. This is handy in order to see a realtime
graph of the last "N" seconds of data coming from the CAN bus.
2017-08-23 21:05:39 -04:00
Collin Kidder 280a3e11d7 Fixes to Flowview and Graphing windows to make them work with new
QCustomPlot version
2017-08-13 18:01:05 -04:00
Collin Kidder 83399ed0a7 Switched to newest version of qcustomplot. 2017-08-06 21:25:17 -04:00
Collin Kidder 74f6d7f947 Add preliminaries for signal viewer, update version number, switch dbc handler to singleton pattern, changes to DBC attributes 2017-01-15 16:30:08 -05:00
Collin Kidder b7a1afcd8f Further source file restructuring 2016-12-11 21:36:25 -05:00