ngscopeclient / scopehal-apps

ngscopeclient and other client applications for libscopehal.
https://www.ngscopeclient.org/
BSD 3-Clause "New" or "Revised" License
560 stars 87 forks source link

ngscopeclient Power Supply Feature Detection #499

Closed ehntoo closed 1 year ago

ehntoo commented 1 year ago

This PR leverages the new feature detection functions added by https://github.com/glscopeclient/scopehal/pull/691 to conditionally show/hide subsections of the power supply dialog.

Additionally, it fixes a bug where the "Apply" button for a power supply channel's "Current" setting was mapped to the SetPowerVoltage rather than SetPowerCurrent method.