WIP: working compound driver, partial SSA3000X as a demonstration

This commit is contained in:
Jan Käberich 2023-02-07 18:30:05 +01:00
parent 89e46057a5
commit b701479e87
28 changed files with 3418 additions and 1971 deletions

View file

@ -1,5 +1,7 @@
#include "generator.h"
#include "CustomWidgets/informationbox.h"
#include <QSettings>
Generator::Generator(AppWindow *window, QString name)
@ -37,6 +39,10 @@ void Generator::deactivate()
void Generator::initializeDevice()
{
if(!window->getDevice()->supports(DeviceDriver::Feature::Generator)) {
InformationBox::ShowError("Unsupported", "The connected device does not support generator mode");
return;
}
updateDevice();
}