-
Notifications
You must be signed in to change notification settings - Fork 170
plugin: Add ADMT Plugin for ADMT4000 #1878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
I see the PR is still in progess, but I noticed a few things that might need changing before this is ready for complete review.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can include the emulator xml you generated in this PR as is, since iio-emu does not support regmaps. Also use the xml to test the plugin as a demo (functionalities are not expected to work, but it should not crash)
Fix the failing tests:
https://github.com/analogdevicesinc/scopy/actions/runs/13560535173/job/37910054758?pr=1878#step:5:1307
35bc8d7
to
82eb140
Compare
229c485
to
aa54bcf
Compare
This looks good .. Can you clean up the commit history a little bit ? |
- Added logic for compatible - Changed Harmonic Calibration icon - Changed plugin description Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Added style for checkbox LED Signed-off-by: U-ANALOG\JJuanill <[email protected]> Signed-off-by: JJuanill <[email protected]>
Signed-off-by: U-ANALOG\JJuanill <[email protected]> Signed-off-by: JJuanill <[email protected]>
Signed-off-by: U-ANALOG\JJuanill <[email protected]> Signed-off-by: JJuanill <[email protected]>
Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Migrating styles to separate .qss - Changed status LED behavior Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Removed UI_LIST uses Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Added sequence mode 2 graph checkboxes - Updated calibration graphs to align with styles infrastructure - Added formatter for graphs - Added colored checkbox - Disabled SPI CRC and Flag - Set default motor RPM to 30 - Changed uint16_t to quint16 for slot and signals Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Removed ADMTStyleHelper and dependencies - Removed unused horizontal spinbox - Updated labels to subtle style - Set fixed size for custom switch Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Removed graph update interval - Optimized GUI updates using slots and signals - Removed threaded UI update for acquisition tab Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Code cleanup Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
…isters Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Code cleanup potential memory leaks - Disabled ECC on startup - Adusted layout for calibration tab - Replaced maps with QMap Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Revised displayed turn count in acquisition tab Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Removed raw motor target and current position - Added reset motor position button - Revised ABS angle turn count calculation - Code cleanup Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Added call to stop reset to zero - Clear harmonic registers on init Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Revised CSV saving format - Included post calibration samples, corrected errors, and FFTs Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Changed CNV page to uint8_t - Added registry read for rotation, angle, count, temp channels - Added disable state for lineedit - Changed error value for double to UINT32_MAX Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Added conversion restart on calibration - Fixed bug when deselect all graph channel in acquisition - Changed ramp mode variable for reset motor to zero - Remove unused methods Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
Signed-off-by: John Lloyd Juanillo <[email protected]> Signed-off-by: JJuanill <[email protected]>
- Added disable state for colored checkbox Signed-off-by: JJuanill <[email protected]>
- Changed fast motor RPM to 200 Signed-off-by: JJuanill <[email protected]>
Adding implementation of ADMT4000 Harmonic Calibration plugin to Scopy