FACT++  1.0
bool ConnectionFTM::EnableFTU ( int32_t  board,
bool  enable 
)
inline

Definition at line 854 of file ftmctrl.cc.

References data, FTM::StaticData::DisableAllFTU(), FTM::StaticData::DisableFTU(), FTM::StaticData::EnableAllFTU(), and FTM::StaticData::EnableFTU().

855  {
856  if (board>39)
857  return false;
858 
860 
861  if (board<0)
862  {
863  if (enable)
864  data.EnableAllFTU();
865  else
866  data.DisableAllFTU();
867  }
868  else
869  {
870  if (enable)
871  data.EnableFTU(board);
872  else
873  data.DisableFTU(board);
874 
875  }
876 
877  // Maybe move to a "COMMIT" command?
879 
880  return true;
881  }
FTM::StaticData fBufStaticData
Definition: ftmctrl.cc:57
float data[4 *1440]
void CmdSendStatDat(const FTM::StaticData &data)
Definition: ftmctrl.cc:510

+ Here is the call graph for this function: