FACT++  1.0
bool ConnectionFTM::SetIntensity ( FTM::StaticData::GeneralSettings  lp,
uint16_t  intensity 
)
inline

Definition at line 1078 of file ftmctrl.cc.

References data, FTM::StaticData::fIntensityLPext, FTM::StaticData::fIntensityLPint, FTM::StaticData::kLPext, FTM::StaticData::kLPint, and FTM::StaticData::kMaxIntensity.

1079  {
1080  if (intensity>FTM::StaticData::kMaxIntensity)
1081  return false;
1082 
1084  return false;
1085 
1087 
1088  if (lp==FTM::StaticData::kLPint)
1089  data.fIntensityLPint = intensity;
1090 
1091  if (lp==FTM::StaticData::kLPext)
1092  data.fIntensityLPext = intensity;
1093 
1095 
1096  return true;
1097  }
FTM::StaticData fBufStaticData
Definition: ftmctrl.cc:57
Enable trigger decision after light pulse (CalibrationTrigger, LP1)
Definition: HeadersFTM.h:204
Enable artificial trigger after light pulse (LP2)
Definition: HeadersFTM.h:203
float data[4 *1440]
void CmdSendStatDat(const FTM::StaticData &data)
Definition: ftmctrl.cc:510