Commit Graph
76 Commits
Author SHA1 Message Date
Brice Gaulupeau d3feb284a1 Fix PCAN loading issues
Uses numBytes instead of thisFrame.payload().length() as the payload is not yet defined
Scan the first 25 lines intead of 10 as version 1 has a long header
2020-12-10 08:12:22 +01:00
Kanstantsin Shautsou 0661f76ec7 Remove unused function 2020-10-07 02:53:51 +03:00
Kanstantsin Shautsou 10920e17e5 Save CARBUS Analyzer format 2020-10-07 02:51:40 +03:00
Collin Kidder c0f3e09c0b Fix timestamp loading for CARBusAnalyzer files 2020-10-05 18:18:46 -04:00
Collin Kidder 1c7caa3884 Fix some errors created during last merge. 2020-09-30 21:55:39 -04:00
Collin Kidder 9d545d44d1 Merge pull request #245 from collin80/WIP
Wip
2020-09-30 18:42:57 -07:00
Kanstantsin Shautsou 6eebfd7089 Add CARBUS Analyzer file load.
- Generic CSV parses file without failures, so CARBUS must be higher.
- File may be loaded but will have no packets. Adjusted UI message for this case.
- Obviously if we got CANHACKER header, then file is already detected and there is no need to parse.
2020-09-26 03:45:19 +03:00
Collin Kidder 4887ac8e62 Many fixes to file loading to prevent crashes and make failure more
clear.
2020-08-16 18:30:43 -04:00
Collin Kidder 503e662feb Fixed a problem with Canalyzer ASC loading. 2020-04-02 20:43:02 -04:00
Collin Kidder 367c072b45 Various fixes to issues caused by recent transition to QCanBusFrame 2020-02-18 21:31:18 -05:00
Collin Kidder d550fa79a0 Changed a lot of pointer references to const (it's more correct and
fixes a weird problem), fixed a problem with JSON to DBC, a few other
fixes
2020-02-13 22:01:06 -05:00
Collin Kidder 8beb0e31a0 Converted more code to be easier to generalize to larger CAN payloads
for CAN-FD. Improved some code to be faster. Fixed up some compile
time warnings.
2019-12-15 15:02:06 -05:00
Collin Kidder ef24036d1c Finished switching over everything to the new can format (I hope). It
seems to function now but much more testing is needed.
2019-12-13 21:06:48 -05:00
Mark Schulte 0eef77d901 Fix Decoding of Canalzyer ASC files
* Properly decode and encode extended IDs
 * Properly decode and encode RTR messages
2019-11-11 14:55:48 -08:00
Collin Kidder eb85089b39 Add support for lawicel logs 2019-10-02 15:29:37 -04:00
Collin Kidder d6a041927c Fix autodetection of Canalyzer ASC files 2019-09-19 20:00:15 -04: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 947f24f267 More fixes for compile warnings 2019-08-08 21:49:03 -04:00
Collin Kidder e7e65b7216 Fixed up a bunch of compiler warnings.
There should be no functional difference, just less noise when compiling
2019-08-08 21:15:51 -04:00
Mark Webb-Johnson 1cd5afa53b Add support for reading/writing the latest CRTD format (with bus number) 2019-07-19 10:56:27 +08:00
Collin Kidder d4a735a710 Allow many places to load and save the last directory used for that functionality so it can easily be used again.
All frame file I/O uses the same directory load/save location but DBC files store separately as do filter files, graphing definitions, and stored text files from the various reverse engineering windows.
2019-06-17 20:58:56 -04:00
Fabián Inostroza f26dfb6cc2 Fix candump file detection. It generated a segfault when loading a busmaster log file with auto detection. 2019-04-30 00:51:47 -04:00
Collin Kidder 1fbd381df7 A few improvements to automatic file format detection. 2019-04-14 20:01:12 -04:00
Collin Kidder f14247cc35 Added a format tester for every input format and an auto-loader that
tries to guess the file type based on its contents.

Not completely stable yet but still a lot more fun than trying to find
the file format in a list of 19 file formats.
2019-04-11 22:23:47 -04:00
Collin Kidder e013b91af3 Fixes to CANAlyzer ASC format when saving. Hopefully perfectly matches
now
2019-03-20 19:55:54 -04:00
Collin Kidder 11b10b7220 Add CANOpen Magic file format for loading 2019-03-19 19:56:48 -04:00
Collin Kidder 39d8786d4b Fixes to make native GVRET file loading more robust. 2019-03-18 21:49:36 -04:00
Collin Kidder 56691b3680 Fixes to file loading 2019-03-18 20:38:31 -04:00
Collin Kidder 6a9bd48442 Change formatting of CANAnalyzer ASC saving to hopefully better match
the "Real" program's output
2019-03-17 18:30:10 -04:00
Collin Kidder ef5f41644a Add CANalyzer ASC saving 2019-03-11 20:35:23 -04:00
Izzy 79a684e74a Fix loading for values >0x7F in the first byte. 2019-03-09 19:50:58 -08:00
Izzy a03a9d6d09 Fix a few typos, and fix import/export of timestamps. Normalizes to microseconds, and makes the first sample happen at 0. Exported version is now indistinguishable from the imported version, other than the timestamps starting at 0. 2019-03-08 23:43:34 -08:00
selabnayr 8e23302e79 Add load/save for Cabana log files. 2019-03-08 18:01:03 -08:00
Collin Kidder ceae98d762 Fix an inverted situation in PCAN file loading that caused extended
frames to not load properly from version 1.1 files
2019-02-14 20:15:00 -05:00
Collin Kidder 39f07fac32 Fixed Vector ASC loading to work a bit better 2019-02-13 20:58:30 -05:00
Collin Kidder 1a7d229bf2 Fixes for several small bugs in file loading that messed things up. 2018-06-18 21:14:41 -04:00
Collin Kidder ff2b3e25cf Merge pull request #134 from FabianInostroza/fix_remote_frames
Make SavvyCAN aware of remote frames.
2018-06-03 10:59:09 -04:00
Collin Kidder f5b8f1090b Fixes to allow native files and CRTD files to load with frame that have zero data bytes, allow loading of files that have errors. 2018-05-17 20:40:17 -04:00
Fabián Inostroza b8896d76b6 Make SavvyCAN aware of remote frames. 2018-04-29 18:52:31 -03:00
Collin Kidder 1659e37be4 Merge branch 'WIP' of github.com:collin80/SavvyCAN into WIP 2018-04-17 20:04:58 -04:00
Collin Kidder 63ee973b9c Changes to BLF file reading code 2018-04-17 20:00:39 -04:00
Fabian Off a3b8969fe0 implement reading CANHacker trace files 2018-04-14 23:43:07 +02:00
Collin Kidder c60eac7364 Add support for loading BLF files. Only loads CAN frames at this point. 2018-02-08 20:47:13 -05:00
Collin Kidder be97380bbf Add PCAN log ver 2 file loading as well as loading of CANalyzer ASC logs 2018-02-07 16:23:54 -05:00
Fabián Inostroza 12b6c74fc9 Fix loading of candump log files with extended frames. 2018-01-11 01:44:33 -03:00
Anner J. Bonilla 9b693630b3 add candump save support 2017-11-20 06:08:20 -08:00
Collin Kidder 9be4838618 Added "continuous logging" functionality.
This is useful if you're having stability troubles and/or are worried
about crashes. With traditional logging you can lose your capture if
the program, CAN adapter, or computer crash before you've saved. With
continuous logging the file is flushed to disk every couple of seconds
so you won't lose more than a few seconds of log even during a crash.
2017-10-07 22:15:21 -04:00
Collin Kidder 83399ed0a7 Switched to newest version of qcustomplot. 2017-08-06 21:25:17 -04:00
Collin Kidder 8e6883f8f0 Frame file I/O file got messed up line endings. Hopefully this fixes
that.
2017-07-06 21:50:04 -04:00
Collin Kidder f4c6c3fbd9 Add Kvaser log file format for loading 2017-04-03 21:08:15 -04:00