64
64
for (int i = 0; i < NumOfPixels; i++) {
65
65
Abscissa.ArrBody[i] = 200.0 + dX * i ;
67
qDebug() << "sDummyCCDDriver::CalculateAbscissa";
67
qDebug() << "sDummyCCDDriver - CalculateAbscissa";
68
68
emit NewAbscissa (Abscissa);
71
71
void sDummyCCDDriver::StartDevice ()
73
int _IT = Round((MeasureTime/(sPhysValue(1.0e-3,"s"))).ToReal());
74
State_O_Measuring->SetTimeout(_IT);
77
void sDummyCCDDriver::StopDevice ()
81
void sDummyCCDDriver::SetDevice_MeasureTime (sPhysValue _MTime)
74
int _IT = Round((MeasureTime/(sPhysValue(1.0e-3,"s"))).ToReal());
76
State_O_Measuring->SetTimeout(_IT);
84
int _IT = Round((_MTime/(sPhysValue(1.0e-3,"s"))).ToReal());
85
_IT = (_IT / 10) * 10;
86
if (_IT < 10) _IT = 10;
87
qDebug() << "sDummyCCDDriver - SetDevice_MeasureTime, _IT = " << _IT;
88
MeasureTime = sPhysValue(_IT*1.0e-3,"s");
89
emit MeasureTimeSet(MeasureTime);
77
90
}catch(rxRAlgebra){
78
91
SetInvalid(tr("Something wrong with units."));
82
void sDummyCCDDriver::StopDevice ()
86
void sDummyCCDDriver::SetDevice_MeasureTime (sPhysValue _MTime)
89
emit MeasureTimeSet(MeasureTime);
93
96
//------------------------------------------------------------------------------