Commit graph

773 commits

Author SHA1 Message Date
Jan Käberich b6f26eb6dc Interpolate calibration with magnitude/phase instead of real/imag 2025-02-26 08:54:45 +01:00
Bryan Paradis 1fa3516612 add LibreVNA-GUI build folder to .git-ignore 2025-02-24 04:19:50 -08:00
Jan Käberich 269c7b9859 Validate math formula immediately and show error message 2025-02-24 13:10:52 +01:00
Bryan Paradis 0966466686 validate math formula on text change 2025-02-23 10:01:00 -08:00
Jan Käberich 3c7534a35c do not update number of points in from math trace when paused 2025-02-23 13:20:49 +01:00
Bryan Paradis fa9e90df24 add librevna windows application icon 2025-02-21 14:47:57 -08:00
Jan Käberich 351b040237 Version bump + changelog 2025-02-21 16:00:36 +01:00
Jan Käberich d722f62947 dwell time defaults to 0 2025-02-21 15:59:56 +01:00
Jan Käberich 705661e322 padding always adds resolution 2025-02-21 15:59:26 +01:00
Jan Käberich 8962cab40c adjust impedance renormalization test to pass 2025-02-21 15:56:21 +01:00
Jan Käberich 3f64653ed3 general Y parameters 2025-02-21 15:17:04 +01:00
Jan Käberich 3e0f3df48c adjust Z0 when de-embedding traces 2025-02-21 15:06:20 +01:00
Jan Käberich 0205ab494d Improve de-embedding
- Add Z parameters with general conversion from and to S parameters
- Implement impedance renormalization over general Z parameters
- Fix crash after taking de-embedding measurement
- Fix various small bugs with new parameter implementation
2025-02-21 12:37:39 +01:00
Jan Käberich 77a3fc5039 Merge branch 'master' into arb_port_parameters 2025-02-21 09:32:34 +01:00
Jan Käberich 15db0236a8 add missing file to tests 2025-02-19 12:45:07 +01:00
Jan Käberich c56fdf0ce5 update LibreCAL API from LibreCAL repository 2025-02-19 12:34:43 +01:00
Jan Käberich d4df1c1b22 WIP: use Eigen::MatrixXcd in parameters in preparation for arbitrary number of ports 2025-02-14 17:52:44 +01:00
Jan Käberich ef8cdeccd7 Various bugfixes, mostly eye diagram related
- Update eye diagram when settings are changed but data is static
- Keep trace on eye diagram visible when random other trace is deleted
- resolve references when duplicating a math trace
- use correct trace output domain in various checks throughout the code
2025-02-14 14:03:09 +01:00
Jan Käberich 50bde261af Fix impedance renormalization + add unit tests 2025-02-09 12:59:11 +01:00
Jan Käberich 523946447a Force correct file ending when exporting touchstone files 2025-01-22 19:07:28 +01:00
Jan Käberich ab9605cb85 use trace model source and correct units for graph axes and edit dialogs 2025-01-08 08:59:04 +01:00
Jan Käberich cd83921f49 Short switch to idle when the reference is changed 2025-01-07 08:30:17 +01:00
Jan Käberich ca25969574 Startup and communication bugfixes
- reduce amount of mode switched when starting and loading setups
- improve logging for errors during HIL tests
- fix small USB communication bugs
2025-01-06 17:34:46 +01:00
Jan Käberich b77ba278de Improve spectrum analyzer
- revert LO2 shift mechanism (restores previous SA speed)
- allow tracking generator to reach all(?) frequencies with sufficient accuracy
2025-01-04 16:52:32 +01:00
Jan Käberich a4faeb28b0 Working dwell time feature
- Bugfixes:
	- improve SPI timing in FPGA
	- fix markers and reduce CPU load when using markers with fast traces
- New features:
	- dwell time configurable in acquisition toolbar
	- PLL settling delay in device configuration
	- device configuration persistent across power cycles
2025-01-03 14:36:10 +01:00
Jan Käberich 24314e2361 WIP: rework 2.LO + add dwell time 2025-01-02 19:16:53 +01:00
Jan Käberich 70ac53aa75 add mutex for trace data (fixes DFT/TDR thread crashes) 2024-12-17 10:48:52 +01:00
Jan Käberich acb79fa3bc WIP: TDR/DFT improvements 2024-12-16 22:21:33 +01:00
Jan Käberich e8482783f7 Add temperature and manual control SCPI commands 2024-12-15 17:40:19 +01:00
Jan Käberich f2b01f71c4 version bump + changelog 2024-12-07 16:23:28 +01:00
Jan Käberich a5b9195ac9 new SCPI command: delete traces 2024-12-07 15:54:35 +01:00
Jan Käberich 8be82589c5 make file drop work on Windows 2024-12-04 11:51:42 +01:00
Jan Käberich 199975bdd0 fix: clean device disconnection when loading setup files 2024-12-03 08:05:16 +01:00
Jan Käberich 6ea8869f7f TraceWidget: support dropping files for importing measurements 2024-12-02 18:11:20 +01:00
Jan Käberich 0b8e1a7b50 remove debug output 2024-12-02 14:23:54 +01:00
Jan Käberich 9e33a294cd fix tests 2024-12-02 14:02:34 +01:00
Jan Käberich b95e966041 Fix tests 2024-12-02 12:10:13 +01:00
Jan Käberich 82e215881a improve handling of SCPI commands received with short/no time between 2024-12-02 10:46:28 +01:00
Jan Käberich 57e6812cf8 fix for future qt versions: keep one instance of the calibation progressbar 2024-12-01 18:17:39 +01:00
Jan Käberich 4dc75c13c5 macos libusb workflow fix 2024-11-03 13:48:17 +01:00
Jan Käberich 48cc3891cd macos libusb workflow fix 2024-11-03 13:43:00 +01:00
Jan Käberich 67a186be4f workflow update + minor bugs/warnings fixes 2024-11-03 13:36:54 +01:00
Jan Käberich 69b2fac95f new setting: chose pass/fail for limit checking of NaN/inf values 2024-11-03 13:15:26 +01:00
Jan Käberich 64a7ddc455 use native OS dialogs by default for load/save 2024-11-03 12:54:16 +01:00
Jan Käberich fc717a8f88 bugfixes from LibreCAL repo 2024-09-26 13:47:05 +02:00
Jan Käberich 6d6ffc60ea partial loading of coefficient sets 2024-09-25 17:58:32 +02:00
Jan Käberich 74858c1098 only use fast coefficient protocol for newer LibreCAL firmware 2024-09-25 15:45:35 +02:00
Jan Käberich 2c639d8080 Improved electronic calibration
- Added automatic port detection mode
- Faster coefficient readout
- LibreCAL using asynchronous libusb API
2024-09-25 15:30:42 +02:00
Jan Käberich 392cb6dc3f WIP: improve coefficient readout from LibreCAL 2024-09-24 19:19:43 +02:00
Jan Käberich f9d1b0de42 initialize missing measurements to 0 2024-09-18 10:18:43 +02:00
Jan Käberich 5fd77343ac allow calibration to continue with missing measurements (better than doing nothing) 2024-09-18 09:30:16 +02:00
Jan Käberich b9e4117db1 Import/export options in file menu 2024-09-16 20:56:02 +02:00
Jan Käberich 009de1af17 new SCPI command to switch between linear/log sweeps in VNA mode 2024-09-16 20:22:25 +02:00
Jan Käberich f2df7ad3f0 Shift TDR output from positive times only to centered around zero 2024-07-10 10:05:25 +02:00
Jan Käberich 5f2788467b remove duplicate RUN and STOP commands for spectrum analyzer 2024-06-29 12:47:44 +02:00
Jan Käberich 4dea10552c option to link RHS ticks to LHS ticks on XY-plots 2024-06-29 12:44:10 +02:00
Jan Käberich b4a22176a4 Changelog and version bump 2024-06-28 09:31:49 +02:00
Jan Käberich 2fbfb96dda Fix SCPI parsing for arguments containing ':'; allow lower case calibration file names 2024-06-24 09:04:17 +02:00
Jan Käberich 45a30a4159 only stream data if calculations are performed + documentation of streaming servers 2024-06-20 16:21:39 +02:00
Jan Käberich 6ca54547bb added streaming servers 2024-06-20 15:56:38 +02:00
Jan Käberich 2ba954537b Add SCPI command to read/write the preferences 2024-06-20 14:40:06 +02:00
Jan Käberich aeea13347e Merge branch 'master' of github.com:jankae/LibreVNA 2024-06-02 19:40:10 +02:00
Jan Käberich b2d07d532d Improve graph divisions and markers
- Added group delay option to markers
- Additional configuration for calculation of group delay in the preferences
- Specify divisions as amount of divisions instead of spacing
- Add option for auto divisions on graph with manual min/max limits
2024-06-02 19:37:14 +02:00
Jan Käberich 61db859c3d delete math operations when deleting a trace 2024-05-28 11:07:39 +02:00
Jan Käberich fe08937bb7 Improve taking de-embedding measurements
- Automatically restart measurement even when the sweep was stopped
- Fix crash due to zeroed de-embedding reference impedance
- Fix crash due to not cleaned up dialog pointer with dangling connections
- Automatically excite the correct ports for the measurement
2024-05-17 19:07:34 +02:00
Jan Käberich e1168f2a32 Check for ID collisions when loading calibration standards 2024-05-10 18:12:37 +02:00
Jan Käberich 792a6a4974 continuous updates for TDR/DFT with optional rate limit 2024-05-08 20:00:15 +02:00
Jan Käberich 5ae57bfa9a Preset default traces in mixed mode conversion dialog 2024-05-08 10:42:28 +02:00
Jan Käberich 5692356e90 decouple RST settings from startup settings 2024-05-01 13:33:18 +02:00
Jan Käberich a6c70e0bfa enable start button in FW update dialog, remove unique lambda connection 2024-04-22 15:57:03 +02:00
Jan Käberich 0fc6c912fc Stop sweep after reset, fix failing tests 2024-04-22 15:08:10 +02:00
Jan Käberich c5d045364c Merge branch 'SCPI_improvement' into HIL_actions 2024-04-22 13:21:48 +02:00
Jan Käberich 2b521c4aaa Add firmware update command 2024-04-22 13:21:41 +02:00
Jan Käberich 792f678b99 Merge branch 'master' into SCPI_improvement 2024-04-20 15:59:31 +02:00
Jan Käberich 2963e8b3d5 Reset refernence on *RST, fix VNA:ACQ:RUN? query 2024-04-20 15:56:57 +02:00
Jan Käberich 3f6dad5b92 disable impedance for transmission traces, reword graph adjustment dialog 2024-04-16 21:31:30 +02:00
Jan Käberich 994b536bc6 improve XY-plot rendering, especially for logarithmic Y-axes 2024-04-16 21:13:23 +02:00
Jan Käberich cdfe95af17 Add YAxis: impedance and enable log option 2024-04-16 18:56:26 +02:00
Jan Käberich 3be48bddeb add sweep stop/run commands 2024-04-16 18:55:49 +02:00
Jan Käberich 5e75802bf4 do not set OPC bit for *OPC?, allow exponential notation in integer parameters 2024-04-12 12:23:54 +02:00
Jan Käberich 73ba0f9692 do not set operation pending if no device connected 2024-04-12 12:23:00 +02:00
Jan Käberich 626d4110e2 continue handling commands when multiple lines arrive at once 2024-04-10 20:00:15 +02:00
Jan Käberich bd781764fb CLS/ESE/ESR commands 2024-04-07 14:39:27 +02:00
Jan Käberich de3f3c092a omit response to commands 2024-04-07 14:22:57 +02:00
Jan Käberich 5d3ce139b4 implementation of OPC/WAI 2024-04-07 14:11:04 +02:00
Jan Käberich bb66883de2 Add RST command, parse command tree from root for each line 2024-04-07 12:54:42 +02:00
Jan Käberich f2ac39238c add explanation for temperatures in status bar 2024-04-05 11:57:27 +02:00
Jan Käberich a77d675a39 Improve averaging
- keep already acquired data when changing the amount of averaging
- add reset button for averaging
2024-04-05 11:49:27 +02:00
Jan Käberich d99dab35aa Improve automatic graph configuraion when traces change domains 2024-04-05 10:28:43 +02:00
Jan Käberich 7dd2c0501e keep de-embedding active when changing settings 2024-03-14 11:17:04 +01:00
Jan Käberich 087bd8e4f1 re-compute calibration when a measurement is updated 2024-03-05 18:26:02 +01:00
Jan Käberich e93e364079 update smith chart reference impedance when trace impedance changes but keep smith lines in place 2024-03-01 09:25:47 +01:00
Jan Käberich b7c2bf7cdd Merge branch 'master' of github.com:jankae/LibreVNA 2024-03-01 09:08:43 +01:00
Jan Käberich 358872904e Fix impedance renormalization and honor new reference impedance for traces 2024-03-01 09:08:37 +01:00
Jan Käberich a3223aa08c Version bump and changelog 2024-02-27 11:44:13 +01:00
Jan Käberich 38da235175 Fix size of device configuration dialog 2024-02-27 11:28:02 +01:00
Jan Käberich 542b07f52c postpone deletion of caldialog to prevent race condition crash 2024-02-18 11:37:46 +01:00
Jan Käberich 993957d4d2 Fix calculation of through standard 2024-02-18 11:33:15 +01:00
Jan Käberich 4aa1564de0 Merge branch 'master' of github.com:jankae/LibreVNA 2024-02-17 19:45:55 +01:00
Jan Käberich 82dc84be8a improve SIUnitEdit behavior on windows when the value is changed while the widget has the focus 2024-02-17 19:45:43 +01:00