implementing the cc usb
play

IMPLEMENTING THE CC-USB CONTROL MODULE FOR USE IN CAMAC CRATES AT - PowerPoint PPT Presentation

IMPLEMENTING THE CC-USB CONTROL MODULE FOR USE IN CAMAC CRATES AT THE FERMILAB TEST BEAM FACILITY B Y K A R E N L I P A , S I S T I N T E R N A U G 8 , 2 0 1 2 1 OUTLINE Background ound info Speci cific c use: : cosmic


  1. IMPLEMENTING THE CC-USB CONTROL MODULE FOR USE IN CAMAC CRATES AT THE FERMILAB TEST BEAM FACILITY B Y K A R E N L I P A , S I S T I N T E R N A U G 8 , 2 0 1 2 1

  2. OUTLINE  Background ound info  Speci cific c use: : cosmic mic ray test st stand nd  Goals  My Process ss Questio stions ns  2

  3. HARDWARE: CAMAC SYSTEM Slot number: from 1 to 25 3 *examples on next slide

  4. N, A, AND F  Read (F 0-7) 7)  Wri rite (F 16-23) 3)  I: inhibit it  Z: initia ialize ize  C: clear 4

  5. HARDWARE: CC-USB  Contr ntrol ol modu odule le Transmits nsmits and recei ceives  data to/fr from om crate e modules odules  Access essed d by comput puter er via USB cable e  Newest est type e of contr ntrol ol module odule (oth other ers are obsol solete)  Not ot previousl viously y equi uipped ped for us use at Fermi ermila lab 5

  6. COSMIC RAY TEST STAND PROJECT  Goal: l: to produce uce a reliable iable means ns of testing esting ne new det etect ector ors  Wire e chambe bers s – x- and y-plane ane wires es indic icat ate e locati tion on of Picture of test parti ticles les stand  Scintillators and PMT’s omit signal gnal when parti ticle le travels els throug ough (tri trigge gger) 6

  7. HARDWARE CAMAC crates  Lots lying around, economical CC CC-USB SB  CAMAC parallel bus is now obsolete Wire re chambe mbers rs, , scint ntil illat ators, , PMTs 7

  8. HARDWARE: WIRE CHAMBERS  x- and y-plane ane wires indic dicat ate e locatio ions ns where particle ticles hit  Sends s a signal nal to card 8 Photos: http://www-ppd.fnal.gov/FTBF/Facility/Inst_mwpc/Instructions.html http://universe-review.ca/R15-20-accelerators.htm

  9. HARDWARE: SCINTILLATORS + PMT’S • scin· n·til· til·la·t a·tor or (s n tl tl- t r). n. A su A subst stanc nce that t glows ws when en hit by high-energy nergy particles cles or photons ons (www.freedictionary.com) Photomulti omultiplier plier • tubes: “multiply” result t of scinti ntillat llator or hit (emit mit elect ectrical rical signals) als) 9 Photo: http://williamson-labs.com/ltoc/cbr-tech.htm

  10. THE SETUP 10

  11. THE SETUP: CAMAC CRATE  Lecr croy y 3377 7 Time me-to to-Di Digit gital l conver erter er  counts the time from a hit in the wire chamber until stop signal  Lecr croy y 4301: 1: encod coding ing and reado dout ut  sends out stop signal to all the TDCs 11

  12. TEST PROCEDURE Pul ulse e genera nerator: or: produc duces s mock ck STOP and hit signa nals ls 12

  13. GOALS  Softw tware are to suppo pport t the use of the CC-USB SB contr trol module  Python on wrappi pping ng (ease for user) r)  Speci cifics cs relevant vant to cosmic mic ray project ct 13

  14. STEPS I TOOK Learn about Develop tests DAQ/readout CAMAC (scripts) system Module- Test out specific Hardware stuff example code python classes System + Wrap in Develop basic telescope python python classes readout 14

  15. PYTHON WRAPPING All the benefit its of Pyth thon on With h the power r of C! …  Access to USB functions (examples)  Ease of use (syntax)**  speed  High level  Object-oriented  Script-based (testing) 15

  16. HOW TO WRAP A C FUNCTION STEP 1: WRAPPER FUNCTION  Functi tions ons (PyArg_P yArg_Par arseT eTuple ple and Py_BuildV BuildValue lue) take e in and return eturn Python hon objects ects Within hin the wrapper per functi tion, on, call l is made e to C functi tion on  define ned else sewhere here 16 Photo: http://docs.python.org/extending/extending.html#a-simple-example

  17. HOW TO WRAP A C FUNCTION STEP 2: METHODS TABLE  Defines the “nickname” that each function will be called ed by 17 Photo: http://docs.python.org/extending/extending.html#a-simple-example

  18. HOW TO WRAP A C FUNCTION STEP 3: INITIALIZATION FUNCTION  Define nes s the name e of the module ule to be called ed from m python on 18 Photo: http://docs.python.org/extending/extending.html#a-simple-example

  19. STEPS I TOOK (general) Learn about Develop tests DAQ/readout CAMAC (scripts) system Module- Test out specific Hardware stuff example code python classes System + Wrap in Develop basic telescope python python class readout 19

  20. MY CONTRIBUTION: SOFTWARE 20

  21. BIG MILESTONES Read-out Wrap a C Telescope function (coming Read-out soon) Read wire control chamber mod. info (multi- crate) Read + test Read-out w/ scaler multiple counter TDCs Write a Read-out a Python TDC (test Class setup) 21

  22. ACKNOWLEDGEMENTS  Sup uper ervi viso sor: r: Geof off f Savage ge Ment ntor ors: s: El Elliott t McCror ory, , Jamieso eson n Olsen en   Dianne ne En Engram, am, SIST T comm mmitt ttee  Dr. James es Davenpor ort

  23. QUESTIONS?

Recommend


More recommend