Steps to bring the Pilatus 100K to life.

  1. Boot the detector server computer (xf06bm-pilatus100k)
  2. Be sure dry N2 (from the house supply) is flowing,  (~0.5 lpm at ~3 psi, in back of rack)
  3. Turn on the detector (switch on the back side)
  4. From ws-1, ssh det@xf06bm-pilatus100k and login (Jean & Bruce know the password)
  5. cd p2_det
  6. ./runtvx
  7. Two windows will appear, one for the pilatus-specific camserver, one for tvx, the generic detector interface program.  Once both have run their paces and ended with a * prompt, close the tvx window by typing exit
  8. Minimize the camserver, one need not monitor that constantly.
  9. On the 6BM Main CSS screen, click on Detectors, then on Pilatus100K
  10. In the plugins menu of the AreaDetector CSS screen, select Pilatus screen to get the MEDM interface. You may need to refresh one or both OPIs, or even restart the IOC on xf06bm-ioc1
  11. In BlueSky, pilatus is an instance of a Detector object (as described at and pil is Bruce's monkey-patched thing to expose the functionality he couldn't figure out from the standard interface



Here are some hints about how to incorporate Pilatus images into BlueSky plans:

BMM XRD.111 [45] ▶ PilatusGrabber?
Crude tool for grabbing images from the Pilatus.  Largely following
the standard BlueSky AreaDetector interface, but monkey patching
functionality for the bits that I am too dim to figure out.

Define the Pilatus Detector
   pilatus = MyDetector('XF:06BMB-ES{Det:PIL100k}:', name='Pilatus')

Make an PilatusGrabber opbject
   pil = PilatusGrabber(pilatus)

Take an exposure

Show the image (and maybe copy it elsewhere)

   path:      AreaDetector's file path (cannot have spaces)
   fname:     file name
   template:  substitution template for constructing the resolved file name
   fullname:  AreaDetector's fully resolved file name
   number:    file extension (auto increments)
   threshold: detector energy threshold in keV
   time:      exposure time, sets the exposure time and acquire time
   ready:     flag with a simple check to see if camera is ready to take a picture