qmca  0.0.20
epicsa2dconverter.cpp
Go to the documentation of this file.
1 #include "epicsa2dconverter.h"
2 
3 EpicsA2DConverter::EpicsA2DConverter(QString pvName, QObject *parent)
4  : EpicsDouble(pvName, parent),
5  m_Gain(pvName+"GAIN"),
6  m_Range(pvName+"RANGE"),
7  m_Offset(pvName+"OFFSET"),
8  m_LowerLevelDiscrim(pvName+"LLD"),
9  m_UpperLevelDiscrim(pvName+"ULD"),
10  m_ZeroOffset(pvName+"ZERO"),
11  m_GateMode(pvName+"GMOD"),
12  m_CoincidenceMode(pvName+"CMOD"),
13  m_PeakDetectMode(pvName+"PMOD"),
14  m_AcquisitionMode(pvName+"AMOD")
15 {
16 }
17 
19 {
20 }
21 
22 
24 {
25  m_GateMode.caput(coinc);
26 }
27 
29 {
30  m_Gain.caput(gain);
31 }
32 
34 {
35  m_Range.caput(rng);
36 }
37 
39 {
40  m_Offset.caput(off);
41 }
42 
44 {
46 }
47 
49 {
51 }
EpicsBoolean m_GateMode
void setRange(int gain)
void setOffset(int gain)
EpicsInteger m_Offset
void setLowerLevelDiscrim(double l)
EpicsA2DConverter(QString pvName, QObject *parent=0)
void caput(int val)
void caput(int val)
EpicsDouble m_UpperLevelDiscrim
void setUpperLevelDiscrim(double l)
EpicsDouble m_LowerLevelDiscrim
EpicsEnumeration m_Gain
EpicsEnumeration m_Range
void caput(double val)
void setGain(int gain)
void caput(bool val)
void setCoincidence(int coinc)