Known Problems and Fixes

From tigwiki

Jump to: navigation, search

[edit] DAQ Running but no Events

Problem:

  • The DAQ is running and everything indicates that the system should be writing data but there are no events coming through. The normal process of shutting down/killing all the MIDAS clients won't work. You may see messages at the top of the MIDAS page and in the front end terminal that look like this:

Thu Nov 3 15:04:50 2011 [8piFE,ERROR] [mfe.c:712:register_equipment,ERROR] Cannot open statistics record '/Equipment/FIFOMem/Statistics', error 318. Probably other FE is using it

Thu Nov 3 15:04:50 2011 [8piFE,ERROR] [mfe.c:712:register_equipment,ERROR] Cannot open statistics record '/Equipment/Camac/Statistics', error 318. Probably other FE is using it

Thu Nov 3 15:04:50 2011 [8piFE,ERROR] [mfe.c:712:register_equipment,ERROR] Cannot open statistics record '/Equipment/Scaler/Statistics', error 318. Probably other FE is using it

Thu Nov 3 15:04:50 2011 [8piFE,ERROR] [mfe.c:712:register_equipment,ERROR] Cannot open statistics record '/Equipment/IScaler/Statistics', error 318. Probably other FE is using it

Solution:

  • It's possible the MIDAS front end code has gotten itself confused and thinks another front end code is running. To fix this you need to kill all clients and do an odbedit cleanup, as with the usual DAQ restart. Then use odbedit to delete these statistics keys:
  • odbedit: cd /Equipment/IScaler
  • odbedit: rm Statistics
  • Then do the same with the other equipments (FIFOMem,Scaler,Camac).
  • Next restart the 8pi front end. This should automatically remake those odb entries in the correct way. If it doesn't and reports errors then once you have cleaned up and deleted those entries you need to make them again manually:
  • odbedit: cd /Equipment/IScaler
  • odbedit: mkdir Statistics
  • odbedit: cd Statistics
  • odbedit: create double "Events sent"
  • odbedit: create double "Events per sec."
  • odbedit: create double "kBytes per sec."

And the same for the other equipments.

  • Then restart the 8pi front end followed by the other clients.
Personal tools
Experiment Pages