Commit graph

859 commits

Author SHA1 Message Date
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 8df7d1b7be adjust limits and run HIL tests in no-gui mode 2025-01-03 17:07:29 +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 a2abc0c2af speed up tests 2024-12-17 12:06:55 +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 4725942727 actually run temperature test + sanity check update 2024-12-15 18:11:25 +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 37c1064881 increase delays/timeouts for RPi in HIL tests 2024-05-01 15:37:39 +02:00
Jan Käberich 1edaceec4b run tests with offscreen plugin 2024-05-01 14:48:19 +02:00
Jan Käberich cdef035e74 allow more time for OPC poll with updated *RST settings 2024-05-01 14:08:30 +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 77cd3a9d4b Add missing file + delay in RST test 2024-04-22 15:23:35 +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 70c44d006d add return value to tests, allow GUI to start without display 2024-04-22 12:26:13 +02:00
Jan Käberich f897d98ab0 Adjust workflows, disable debug build for firmware 2024-04-22 12:05:53 +02:00
Jan Käberich 792f678b99 Merge branch 'master' into SCPI_improvement 2024-04-20 15:59:31 +02:00
Jan Käberich a202a10507 Fix failing tests 2024-04-20 15:57:16 +02:00
Jan Käberich 2963e8b3d5 Reset refernence on *RST, fix VNA:ACQ:RUN? query 2024-04-20 15:56:57 +02:00
Scott Guthridge c1d1bc7aed Add integration tests for *RST 2024-04-19 23:46:09 -07:00
Scott Guthridge 15024eb91e Add tests for SCPI synchronization: *WAI, *OPC? and *OPC 2024-04-19 23:41:34 -07:00
Scott Guthridge 41033fdecd Add tests for SCPI status registers 2024-04-19 23:41:31 -07:00
Scott Guthridge 95e59769fd Update integration tests for SCPI improvements
libraVNA.cmd() no longer expects blank line responses.  By default,
it checks status after each command to match the previous behavior.
Check can be disabled by optional cmd() parameter for handling expected
failure cases.

Commands such as *WAI may take longer than anything previously.  Make
it possible to override the default time-out in cmd() and query().

Change poll loops in TestCalibration and TestVNASweep to *WAI calls.
2024-04-18 00:54:14 -07: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 5fee8ee974 reduce VCCint to 1.2V 2024-02-26 15:37:27 +01:00