Commit graph

306 commits

Author SHA1 Message Date
Jan Käberich 5f022c42b6 Ignore first point of next sweep when in single sweep mode, fix parsing of VFF MCU temperature in VNA log 2023-04-03 13:05:52 +02:00
Jan Käberich 50dd9e6002 Merge branch 'qt6' 2023-03-28 11:54:20 +02:00
Jan Käberich c18845fce5 removed warning, updated lohmann::json, fix qt6 static assertion error 2023-03-27 00:13:01 +02:00
Alexander Voronov f84a0f7c1a LibreVNA-GUI: Use Qt::BackgroundRole instead of Qt::BackgroundColorRole 2023-03-25 00:28:42 +03:00
Alexander Voronov 1c1ef29e7b LibreVNA-GUI:librevnatcpdriver: Convert QString to QByteArray 2023-03-25 00:28:42 +03:00
Alexander Voronov 84953d23d1 LibreVNA-GUI:Traces:tracepolot: Fix getting QWheelEvent position 2023-03-25 00:28:42 +03:00
Alexander Voronov 3f39a736e0 LibreVNA-GUI: Update QVariant usage 2023-03-25 00:28:42 +03:00
Alexander Voronov 76448e64ee LibreVNA-GUI: Use 'horizontalAdvance' instead of 'width' for text width 2023-03-25 00:28:42 +03:00
Alexander Voronov daf7218cfd LibreVNA-GUI: Remove obsolete 'setMargin' calls 2023-03-25 00:28:42 +03:00
Alexander Voronov 714953f8aa LibreVNA-GUI: Fix usage of QAbstractSocket's slot 'errorOccurred' 2023-03-25 00:28:42 +03:00
Alexander Voronov 8b17a445c7 LibreVNA-GUI: Remove obsolete QDesktopWidget inclusions 2023-03-25 00:28:42 +03:00
Alexander Voronov 7a561224e2 LibreVNA-GUI: Fix 'QButtonGroup' signals usage 2023-03-25 00:28:42 +03:00
Alexander Voronov 7a75a3cfbe LibreVNA-GUI:compounddriver: Fix obsolete 'toSet'/'toList'
See https://doc.qt.io/qt-5/qset-obsolete.html
and https://doc.qt.io/qt-5/qlist-obsolete.html
2023-03-25 00:28:42 +03:00
Alexander Voronov e12cc850db LibreVNA-GUI:CustomWidgets:siunitedit: Fix ambiguous conversion
This commit adds a static_cast to the 'QChar' for the keycode if it
is less than or equal to 255.
2023-03-25 00:28:42 +03:00
Alexander Voronov f0d0f3bde2 LibreVNA-GUI: Fix obsolete calls 'setBackgroundColor'
'setBackgroundColor' is deprecated. Instead we use 'setBackground'.
2023-03-25 00:28:42 +03:00
Alexander Voronov f4b8a0b3ad LibreVNA-GUI: Specify namespace for Qt::flush
This commit fixes compilation errors related to flush scoping.
2023-03-25 00:28:42 +03:00
Jan Käberich 7ebb1ea0c0 Apply button for preferences 2023-03-22 08:40:51 +01:00
Jan Käberich 9eb2a913b7 Fix parsing of timestamp in packet logs, change file ending 2023-03-21 13:03:10 +01:00
Jan Käberich 4dd477f604 Apply buttons for graph setup dialogs 2023-03-19 21:43:03 +01:00
Jan Käberich 54de9fd6b0 Fix :DEV:CONN SCPI command 2023-03-17 18:51:40 +01:00
Jan Käberich f6ff4727c8 Debug-option: preserve phase for through measurements in compound driver 2023-03-17 18:51:27 +01:00
Jan Käberich 5e46055d3c Output time per sweep on debug console 2023-03-17 18:50:46 +01:00
Jan Käberich 87c1f4d576 Duplicate mode switch control in menu 2023-03-10 17:56:08 +01:00
Jan Käberich d30fa8b2ce Compound device driver improvements 2023-03-10 00:08:13 +01:00
Jan Käberich ce50ddc702 make reference impedance editable for math traces 2023-03-05 23:26:49 +01:00
Jan Käberich f5aeca60da add reference impedance to trace storage 2023-03-05 23:14:35 +01:00
Jan Käberich afda0e2994 Off-by-one bugfix for raw port receiver value 2023-03-05 23:06:52 +01:00
Jan Käberich 4caec3989e Fix impedance for mixed mode traces 2023-03-01 10:34:54 +01:00
Jan Käberich 99c6d77ad8 Device protocol update: support device with up to 4 ports 2023-02-23 23:04:50 +01:00
Jan Käberich a0c45d3c56 VFF device config update 2023-02-23 15:14:49 +01:00
Jan Käberich e05df7ef19 properly cleanup drag pointer 2023-02-21 13:56:30 +01:00
Jan Käberich 76c63e8585 remove debug output 2023-02-21 13:56:06 +01:00
Jan Käberich 1fc9ae0c0d Attempt to fix OSX workflow 2023-02-20 13:25:38 +01:00
Jan Käberich 9b4865dceb Renaming packet types, implementing different packet contents per hardware version 2023-02-20 13:08:31 +01:00
Jan Käberich 83dbfadf20 Nicer preset graph configuration for one port devices 2023-02-17 17:30:54 +01:00
Jan Käberich 8ac9707242 Safeguard against writing a wrong firmware to a different hardware version 2023-02-17 17:30:22 +01:00
Jan Käberich 0fd9d35a5d Cleanup old device.h file and register Protocol::AmplitudeCorrectionPoint as metatype 2023-02-17 16:31:32 +01:00
Jan Käberich 289a3909fd Change device connections to catch initial device status 2023-02-17 15:12:59 +01:00
Jan Käberich 5544bec231 When failing to open a device show normal message instead of error 2023-02-17 15:12:34 +01:00
Jan Käberich eb81fbdd25 use correct marker interpolation for markerToPixel 2023-02-16 00:40:22 +01:00
Jan Käberich ffeebc6ea6 remove debug output of position 2023-02-15 22:50:32 +01:00
Jan Käberich a2b8f2a00d Fix trace point calculation on distance X axis 2023-02-15 20:30:37 +01:00
Jan Käberich 045cf6cc65 Catch midnight rollover and reschedule replot timer 2023-02-16 00:01:13 +01:00
Jan Käberich 952c43073e add IP address list for TCP drivers 2023-02-12 22:58:45 +01:00
Jan Käberich 9b5bb1678c moved USB/packet log into LibreVNA driver, cleanup old device class 2023-02-12 21:43:51 +01:00
Jan Käberich 9e858feeba Merge branch 'master' into DeviceInterface 2023-02-12 19:21:13 +01:00
Jan Käberich e16b4fca69 Fix sign error in SDC parameters 2023-02-12 19:20:56 +01:00
Jan Käberich 06912584b0 removing TODOs 2023-02-12 19:19:01 +01:00
Jan Käberich d02efdb146 Add warnings if calibration standard does not cover calibration measurement range 2023-02-12 13:21:07 +01:00
Jan Käberich d9b4da3a8f Merge branch 'master' into DeviceInterface 2023-02-10 12:32:55 +01:00
Jan Käberich fe6ee093cb Merge branch 'master' of github.com:jankae/LibreVNA 2023-02-10 11:55:20 +01:00
Jan Käberich ea4c637842 improve touchstone parsing robustness 2023-02-10 11:41:53 +01:00
Jan Käberich ad9e19c102 working SSA3000X driver 2023-02-08 22:57:17 +01:00
Jan Käberich b701479e87 WIP: working compound driver, partial SSA3000X as a demonstration 2023-02-07 18:30:05 +01:00
Jan Käberich 89e46057a5 LibreVNA settings widget 2023-02-06 18:06:50 +01:00
Jan Käberich 2c86cf1d6c LibreVNA TCP driver 2023-01-29 18:02:32 +01:00
Jan Käberich 80c5fc0ff6 LibreVNADriver specific actions 2023-01-25 23:07:33 +01:00
Jan Käberich cde564299c WIP: device driver abstraction 2023-01-17 00:25:58 +01:00
Jan Käberich db6d823e0f WIP: device driver abstraction 2023-01-16 00:25:29 +01:00
Jan Käberich 59e30e93c5 DeviceDriver base class 2023-01-15 00:41:49 +01:00
Jan Käberich 9776b81b45 Fix min calibration frequency after taking measurement 2023-01-14 19:56:03 +01:00
Jan Käberich 6aef3fe0ac Merge branch 'master' of github.com:jankae/LibreVNA 2023-01-05 19:53:03 +01:00
Jan Käberich 0dbf362f57 new marker type: negative peak table 2023-01-05 19:52:54 +01:00
Jan Käberich 3d51f1f497 .gitignore temp data 2022-12-22 22:16:50 +01:00
Jan Käberich b41b3e218e provide de-embedding data for rData() if available 2022-12-22 22:15:03 +01:00
Jan Käberich 77dfabc67f Fix import bug for through standard touchstone files 2022-12-21 16:51:38 +01:00
Jan Käberich 5ad44c780c Rename: non-uniformity -> flatness, also show lines 2022-12-16 22:29:21 +01:00
Jan Käberich e35766c7b8 assign signal receiver to delete connection when closing dialog 2022-12-16 14:16:09 +01:00
Jan Käberich be340f2adc Fix device connection when loading setups 2022-12-16 13:56:28 +01:00
Jan Käberich 0cc5968b12 Check device serial when loading calibration 2022-12-15 22:43:41 +01:00
Jan Käberich fe340ac620 Add virtual destructors, fix warnings 2022-12-15 00:00:15 +01:00
Jan Käberich 4568be8ff4 Merge branch 'master' of github.com:jankae/LibreVNA 2022-12-14 11:00:02 +01:00
Jan Käberich 886be660f6 New marker type: non-uniformity 2022-12-14 10:59:53 +01:00
Jan Käberich 2c62fe71a3 Prevent updating trace widget for every added de-embedding point 2022-12-13 11:32:49 +01:00
Jan Käberich 0c3046b9c7 Prevent error message when connecting to compound device on Windows 2022-12-13 11:32:21 +01:00
Jan Käberich 8778d82576 prevent scrolling when zooming graph 2022-12-12 23:09:27 +01:00
Jan Käberich fb347c37ac add scroll bars to graph area 2022-12-12 22:59:10 +01:00
Jan Käberich e6678435bd WIP: additional SCPI commands for de-embedding 2022-12-12 22:42:33 +01:00
Jan Käberich d674d05083 WIP: SCPI commands for de-embedding 2022-12-12 17:39:17 +01:00
Jan Käberich fa8f49086c Only evaluate file if filename has changed 2022-12-12 13:59:25 +01:00
Jan Käberich 7f5228d934 Add missing break 2022-12-12 13:58:59 +01:00
Jan Käberich 917b33f17d fix wrong format when saving 2xthru de-embedding 2022-12-12 10:57:23 +01:00
Jan Käberich 89c9f20d16 keep original trace data when de-embedding, toggle de-embedding view for individual traces 2022-12-11 20:37:29 +01:00
Jan Käberich b67275831b consider internal reflection path for matching network 2022-12-09 17:41:32 +01:00
Jan Käberich a84d8de0e6 Allow higher port number for de-embedding 2022-12-08 22:05:31 +01:00
Jan Käberich d30d444bc7 increase robustness of option line parsing 2022-12-08 14:19:20 +01:00
Jan Käberich 8db7f003ee new matching network option: defined shunt 2022-12-08 13:45:07 +01:00
Jan Käberich 32a5fac5ef Fix matching calculation order for remote port 2022-12-08 12:35:34 +01:00
Jan Käberich 77f73d3e05 Fix reference impedance for de-embedding traces 2022-12-08 00:02:51 +01:00
Andre Dunford be433c00cb include PacketConstants.h and update FW_CHUNK_SIZE reference 2022-11-29 09:59:18 -08:00
Andre Dunford c05b3a5c8b fix duplicate condition in match() string comparisons 2022-11-26 00:16:32 -08:00
Jan Käberich 73426459ef moved to -alpha.2, updated release workflow 2022-11-20 21:08:57 +01:00
Jan Käberich 0c17288ece SA/GEN integration tests + bugfixes 2022-11-20 20:48:36 +01:00
Jan Käberich 46b41a4a04 Further integration tests 2022-11-19 15:47:08 +01:00
Jan Käberich 30aa5f414f Bugfix calibration range calculation 2022-11-17 18:06:28 +01:00
Jan Käberich d4d1d2d272 limit calibration span to selected standard 2022-11-17 12:06:15 +01:00
Jan Käberich aeaf9340d3 Add option to capture raw receiver values 2022-11-16 12:28:46 +01:00
Jan Käberich a29c323556 LibreCAL API udpate 2022-11-14 15:40:32 +01:00
Jan Käberich b03c8b3958 Save/load calkit SCPI command + re-entrancy bugfix during calibration 2022-11-14 00:08:45 +01:00
Jan Käberich 9b7f457aa5 new command: :VNA:CAL:ACTIVE? + bugfixes in LibreCAL handling 2022-11-13 18:44:19 +01:00
Jan Käberich 4ad3d3ac54 support saving of trace data in setup files 2022-11-09 23:29:37 +01:00
Jan Käberich 7d7bd3a44c Added mixed mode conversion dialog 2022-11-09 12:33:14 +01:00
Jan Käberich 93ade5afe6 Limit movement of markers to displayed span 2022-11-03 20:08:36 +01:00
Jan Käberich a0cacdfbef fix marker grab position 2022-11-03 20:08:14 +01:00
Jan Käberich e400f62f04 Fix calibration measurement interpolation bug 2022-11-02 22:42:06 +01:00
Jan Käberich aaea3cb3a3 increase displayed precision of calkit entries 2022-11-01 15:28:40 +01:00
Jan Käberich 5ace021e41 added mutexes 2022-11-01 01:12:04 +01:00
Jan Käberich f3eb560d61 USB logging 2022-10-31 22:06:23 +01:00
Jan Käberich 69f7c878b9 Fix calibration bug + improve device shutdown 2022-10-31 15:09:19 +01:00
Jan Käberich 6500f67b5e various minor improvements 2022-10-31 11:25:33 +01:00
Jan Käberich e58a76c488 activate mode when created 2022-10-30 13:19:02 +01:00
Jan Käberich 6c1bc842f0 select individual default formats to show for markers 2022-10-30 13:05:05 +01:00
Jan Käberich 19a5e3f57e Selectable cursor format 2022-10-30 12:34:35 +01:00
Jan Käberich eff18a22e8 Improve load time of setup files by omitting excessive device configuration 2022-10-30 12:07:59 +01:00
Jan Käberich 2f5cbc80e9 Added run/stop button 2022-10-30 00:20:57 +02:00
Jan Käberich dfd1abeea5 pan/zoom for smith chart and polar plot 2022-10-29 22:59:17 +02:00
Jan Käberich 7889676ac7 fix crash on preferences save 2022-10-29 22:57:50 +02:00
Jan Käberich 6f0fb5430d Sweep indicator on graphs 2022-10-29 21:19:30 +02:00
Jan Käberich 1fcf25d060 Set full span behavior in preferences 2022-10-29 19:32:16 +02:00
Jan Käberich 6552100775 switch cursor label to black on light background 2022-10-29 19:11:55 +02:00
Jan Käberich 658e8252b1 improve USB protocol decoding 2022-10-28 00:14:24 +02:00
Jan Käberich 2357052c95 remove rise/fall time restriction 2022-10-26 10:52:50 +02:00
Jan Käberich 2dd4edfae6 Improve old calibration import + graph pan/zoom settings 2022-10-25 14:21:09 +02:00
Jan Käberich c343cdf69f Improve autoscaling when no traces are visible, fix display issue of long tick labels 2022-10-25 13:23:08 +02:00
jankae 53702a8154
Merge pull request #156 from sophiekovalevsky/fix-std-runtime
prbs: add stdexcept
2022-10-25 00:35:10 +02:00
Jan Käberich 776ccf8d55 Add parsing of old calibration file format 2022-10-25 00:24:59 +02:00
Kiara Navarro f4d69baa7d
prbs: add stdexcept 2022-10-24 09:06:22 -03:00
Jan Käberich 5ee4208c32 Remove unnecessary code 2022-10-24 00:10:49 +02:00
Jan Käberich 70488f8262 eye diagram thread rework + uninitialized variables fix 2022-10-24 00:08:10 +02:00
Jan Käberich 0539dea4ef use queued connections for all device signals 2022-10-23 21:19:53 +02:00
Jan Käberich 3a9d169d46 Fixing variable initializations part 1 2022-10-23 20:34:20 +02:00
Jan Käberich 796a8cb3f9 update marker when restrict frequencies are changed 2022-10-21 19:51:38 +02:00
Jan Käberich b9b501bd00 Improve display of eye diagram 2022-10-21 19:50:06 +02:00
Jan Käberich ee3c6274ad Move eye diagram from tools to new graph type, enable zoom/pan on graphs 2022-10-21 16:50:04 +02:00
Jan Käberich 329f4487ee Improve impulse response interpolation 2022-10-20 15:58:57 +02:00
Jan Käberich 5387019f5f Wait for calculation thread when closing dialog 2022-10-20 00:41:13 +02:00
Jan Käberich 168f3beec8 Graph axes + input value checking 2022-10-20 00:28:10 +02:00
Jan Käberich c7a99af820 partial eye diagram implementation 2022-10-19 17:31:14 +02:00
Jan Käberich 7043ba1fee Added graph chapter to user manual 2022-10-14 19:43:02 +02:00
Jan Käberich a7f3565064 Improve autonaming of calibration 2022-10-14 17:55:46 +02:00
Jan Käberich 735aa1d746 Bugfix: allow taking of isolation measurements 2022-10-14 15:00:36 +02:00
Jan Käberich c5cbc8af20 Prevent activating calibration without defined calibration standard 2022-10-14 12:26:37 +02:00
Jan Käberich 532702f7fb Removed warnings 2022-10-14 00:27:22 +02:00
Jan Käberich 3f7fb99f58 Github actions test for calibration crash 2022-10-13 23:28:02 +02:00
Jan Käberich 4ae7b31a48 Fix test compile on windows 2022-10-11 14:37:24 +02:00
Jan Käberich 03eac96557 Prevent X axis label clipping for large font sizes 2022-10-08 13:29:17 +02:00
Jan Käberich 26ba329a0c Option: restrict marker position 2022-10-05 22:17:53 +02:00
Jan Käberich 63ebbf8348 Version number increase + boot LED debug reverted 2022-10-01 23:27:03 +02:00
Jan Käberich 101819fd36 moved udev rule file back to original place 2022-10-01 23:14:50 +02:00
Jan Käberich f56cb40e9c removed binary files from git 2022-10-01 23:13:30 +02:00
Jan Käberich d43a1e6e38 TRL calibration routine 2022-10-01 23:11:13 +02:00
Jan Käberich b20e5598be Port extension test 2022-10-01 20:09:46 +02:00
Jan Käberich 8d66770acf Move project, add simple test 2022-10-01 17:10:44 +02:00
Jan Käberich a58b705f08 Move project, add simple test 2022-10-01 17:10:34 +02:00
Andrew Rodland 604a51560c Add Reactance Y-axis option (imaginary impedance in ohms) 2021-10-11 21:28:10 -04:00
Jan Käberich 8a5f944214 Rename to LibreVNA 2021-04-10 12:10:57 +02:00