~d-nelson/research-assistant/nextDNK

« back to all changes in this revision

Viewing changes to RAPlugins/BasicDevices/DataSetRecorder.cpp

  • Committer: Dmitrii
  • Date: 2024-03-12 02:02:44 UTC
  • Revision ID: d.nelson@mail.ioffe.ru-20240312020244-nl3fb371j3xy82a6
Have a little progress.

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
void sDataSetRecorder::LinkToDevice ()
208
208
{
209
209
  try{
 
210
    qDebug() << "Linking to DataDevice";
210
211
    DataDevice.SetTo(DeviceLinks,"Data-Device");
211
212
    Connect(DataDevice ,SIGNAL(ErrorMessage(QString)) ,SIGNAL(DeviceError(QString)) );
212
213
    Connect(DataDevice ,SIGNAL(TheNumOfPixels(int)),SIGNAL(DeviceNumOfPixels(int)) );
229
230
{
230
231
  NumOfPixels = _NOP;
231
232
  Data = new qint32[NumOfPixels];
 
233
  qDebug() << "sDataSetRecorder - Accepted Num of pixels = " << NumOfPixels;
232
234
}
233
235
 
234
236
void sDataSetRecorder::AcceptAbscissa(sDataSetProvider::sDoubleArray _XValues)
239
241
  Abscissa = _XValues;
240
242
  LblXRange->setText(ToQString(sPhysRange(DataDevice->SayAbscissaUnit()*Abscissa[0]
241
243
                 ,DataDevice->SayAbscissaUnit()*Abscissa[NumOfPixels-1]).Text()));
242
 
//  qDebug() << "sDataSetRecorder::AcceptAbscissa";
 
244
  qDebug() << "sDataSetRecorder - AcceptAbscissa";
243
245
}
244
246
 
245
247
void sDataSetRecorder::TakeControl()