20 #ifndef SYSTEM_CONTROL_H 21 #define SYSTEM_CONTROL_H 54 void displayAnalogGroup();
55 void displayDigitalGroup();
61 void buildDAQDeviceList();
62 void submitAnalogChannelUpdate();
63 void submitDigitalChannelUpdate();
65 QGroupBox* deviceGroup =
nullptr;
66 QGroupBox* analogGroup =
nullptr;
67 QGroupBox* digitalGroup =
nullptr;
68 QGroupBox* buttonGroup =
nullptr;
70 QMdiSubWindow* subWindow =
nullptr;
72 QComboBox* deviceList =
nullptr;
73 QComboBox* analogChannelList =
nullptr;
74 QComboBox* analogRangeList =
nullptr;
75 QComboBox* analogDownsampleList =
nullptr;
76 QComboBox* analogReferenceList =
nullptr;
77 QComboBox* analogSubdeviceList =
nullptr;
78 QComboBox* analogUnitPrefixList =
nullptr;
79 QComboBox* analogUnitList =
nullptr;
80 QComboBox* analogUnitPrefixList2 =
nullptr;
81 QComboBox* analogUnitList2 =
nullptr;
82 QLineEdit* analogGainEdit =
nullptr;
83 QLineEdit* analogZeroOffsetEdit =
nullptr;
84 QPushButton* analogActiveButton =
nullptr;
85 QPushButton* analogCalibrationButton =
nullptr;
87 QComboBox* digitalChannelList =
nullptr;
88 QComboBox* digitalDirectionList =
nullptr;
89 QComboBox* digitalSubdeviceList =
nullptr;
90 QPushButton* digitalActiveButton =
nullptr;
92 bool rateUpdate =
false;
93 QComboBox* freqUnitList =
nullptr;
94 QComboBox* periodUnitList =
nullptr;
95 QLineEdit* freqEdit =
nullptr;
96 QLineEdit* periodEdit =
nullptr;
void receiveEvent(const Event::Object *event)
Plugin(Event::Manager *ev_manager)
std::pair< double, double > analog_range_t
std::unique_ptr< Widgets::Plugin > createRTXIPlugin(Event::Manager *ev_manager)
constexpr std::string_view MODULE_NAME
Widgets::FactoryMethods getFactories()
std::unique_ptr< Widgets::Component > createRTXIComponent(Widgets::Plugin *host_plugin)
Widgets::Panel * createRTXIPanel(QMainWindow *main_window, Event::Manager *ev_manager)