Changeset 12094 for trunk/FACT++


Ignore:
Timestamp:
09/13/11 19:05:48 (13 years ago)
Author:
tbretz
Message:
Fixed the feedback units.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/FactGui.h

    r12081 r12094  
    25262526            const PixelMapEntry &entry = fPixelMap.index(i);
    25272527
    2528             dev[i] = 1000*ptr[entry.hv()];
     2528            dev[i] = /*1000*/ptr[entry.hv()];
    25292529            cmd[i] = 1000*ptr[entry.hv()+416];
    25302530
     
    36273627        fDimFadRuns            ("FAD_CONTROL/RUNS",               (void*)NULL, 0, this),
    36283628        fDimFadEvents          ("FAD_CONTROL/EVENTS",             (void*)NULL, 0, this),
    3629         fDimFadRawData         ("FAD_CONTROL/RAWX_DATA",           (void*)NULL, 0, this),
     3629        fDimFadRawData         ("FAD_CONTROL/RAW_DATA",           (void*)NULL, 0, this),
    36303630        fDimFadEventData       ("FAD_CONTROL/EVENT_DATA",         (void*)NULL, 0, this),
    36313631        fDimFadConnections     ("FAD_CONTROL/CONNECTIONS",        (void*)NULL, 0, this),
     
    39443944        fFeedbackDevCam->assignPixelMap(fPixelMap);
    39453945        fFeedbackDevCam->assignTriggerPatchesMap(fPatchHW);
    3946         fFeedbackDevCam->setAutoscaleLowerLimit((fFeedbackDevMin->minimum()+0.5*fFeedbackDevMin->singleStep())*0.001);
    3947         fFeedbackDevCam->SetMin(fFeedbackDevMin->value()*0.001);
    3948         fFeedbackDevCam->SetMax(fFeedbackDevMax->value()*0.001);
     3946        fFeedbackDevCam->setAutoscaleLowerLimit((fFeedbackDevMin->minimum()+0.5*fFeedbackDevMin->singleStep()));
     3947        fFeedbackDevCam->SetMin(fFeedbackDevMin->value());
     3948        fFeedbackDevCam->SetMax(fFeedbackDevMax->value());
    39493949        fFeedbackDevCam->updateCamera();
    39503950
    39513951        fFeedbackCmdCam->assignPixelMap(fPixelMap);
    39523952        fFeedbackCmdCam->assignTriggerPatchesMap(fPatchHW);
    3953         fFeedbackCmdCam->setAutoscaleLowerLimit((fFeedbackCmdMin->minimum()+0.5*fFeedbackCmdMin->singleStep())*0.001);
    3954         fFeedbackCmdCam->SetMin(fFeedbackCmdMin->value()*0.001);
    3955         fFeedbackCmdCam->SetMax(fFeedbackCmdMax->value()*0.001);
     3953        fFeedbackCmdCam->setAutoscaleLowerLimit((fFeedbackCmdMin->minimum()+0.5*fFeedbackCmdMin->singleStep()));
     3954        fFeedbackCmdCam->SetMin(fFeedbackCmdMin->value());
     3955        fFeedbackCmdCam->SetMax(fFeedbackCmdMax->value());
    39563956        fFeedbackCmdCam->updateCamera();
    39573957
     
    39603960        fBiasCamV->assignPixelMap(fPixelMap);
    39613961        fBiasCamV->assignTriggerPatchesMap(fPatchHW);
    3962         fBiasCamV->setAutoscaleLowerLimit((fBiasVoltMin->minimum()+0.5*fBiasVoltMin->singleStep())*0.001);
     3962        fBiasCamV->setAutoscaleLowerLimit((fBiasVoltMin->minimum()+0.5*fBiasVoltMin->singleStep()));
    39633963        fBiasCamV->SetMin(fBiasVoltMin->value());
    39643964        fBiasCamV->SetMax(fBiasVoltMax->value());
     
    39663966
    39673967        fBiasCamA->assignPixelMap(fPixelMap);
    3968         fBiasCamA->setAutoscaleLowerLimit((fBiasCurrentMin->minimum()+0.5*fBiasCurrentMin->singleStep())*0.001);
     3968        fBiasCamA->setAutoscaleLowerLimit((fBiasCurrentMin->minimum()+0.5*fBiasCurrentMin->singleStep()));
    39693969        fBiasCamA->SetMin(fBiasCurrentMin->value());
    39703970        fBiasCamA->SetMax(fBiasCurrentMax->value());
Note: See TracChangeset for help on using the changeset viewer.