mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 23:10:02 +02:00
* merge fix from 7.0.2: new jungfrau fw versions, incremented binary, hdf5 and json versions * moench: changed dac names and default values to old moench values * moench: remove interface clk polarity at start up * moench: default speed is half speed, default values for adc offset and adc phase for different speeds (only half speed confirmed), adc vref voltage to 2.0 like G1 * moench: connected adc pipeline to client * moench: receiver- default frames per file is 100k and discard partial frames as default * moench binary in * using tostring in gui for dacs * moved frame discard policy as a parameter to be configured with a default depending on detector * moench: 300 degrees for adc phase in full speed
47 lines
1.1 KiB
C++
47 lines
1.1 KiB
C++
// SPDX-License-Identifier: LGPL-3.0-or-other
|
|
// Copyright (C) 2021 Contributors to the SLS Detector Package
|
|
#pragma once
|
|
#include "sls/Detector.h"
|
|
#include "sls/sls_detector_defs.h"
|
|
#include "ui_form_tab_developer.h"
|
|
#include <vector>
|
|
|
|
namespace sls {
|
|
|
|
class qDacWidget;
|
|
|
|
class qTabDeveloper : public QWidget, private Ui::TabDeveloperObject {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
qTabDeveloper(QWidget *parent, Detector *detector);
|
|
~qTabDeveloper();
|
|
|
|
public slots:
|
|
void Refresh();
|
|
|
|
private slots:
|
|
void setDetectorIndex();
|
|
|
|
private:
|
|
void SetupWidgetWindow();
|
|
void Initialization();
|
|
void PopulateDetectors();
|
|
|
|
Detector *det;
|
|
std::vector<qDacWidget *> dacWidgets;
|
|
std::vector<qDacWidget *> adcWidgets;
|
|
|
|
const std::vector<slsDetectorDefs::dacIndex> eiger_adcs = {
|
|
slsDetectorDefs::TEMPERATURE_FPGA,
|
|
slsDetectorDefs::TEMPERATURE_FPGAEXT,
|
|
slsDetectorDefs::TEMPERATURE_10GE,
|
|
slsDetectorDefs::TEMPERATURE_DCDC,
|
|
slsDetectorDefs::TEMPERATURE_SODL,
|
|
slsDetectorDefs::TEMPERATURE_SODR,
|
|
slsDetectorDefs::TEMPERATURE_FPGA2,
|
|
slsDetectorDefs::TEMPERATURE_FPGA3};
|
|
};
|
|
|
|
} // namespace sls
|