Programming The Echotek ECDR-GC814 - Fermilab

Transcription

fFermilabProgramming the Echotek ECDR-GC814Thomas S. MeyerFermi National Accelerator Laboratory

fIntroductionFermilab This talk is intended to be an overview of the programmingrequired to run the ECDR-GC814 VME cardJuly 10, 2002Recycler bpm Proposal2

fTopics of DiscussionFermilab Software platformCard layoutAPI for the cardIntegration with Recycler BPM systemDifficultiesConclusionsJuly 10, 2002Recycler bpm Proposal3

fSoftware PlatformFermilab VME VXWorks Platform MVME2401 LibrariesJuly 10, 2002Recycler bpm Proposal4

fFermilabCard Layout

fControlling the ECDR-GC814Fermilab Basic UNIX style driver y 10, 2002Recycler bpm Proposal6

fThe IOCTL FunctionFermilab status ioctl(ecdr814pt, COMMAND, variable); Allows setup and control of all the cards functionsJuly 10, 2002Recycler bpm Proposal7

fECDR-GC814 FunctionsFermilabJuly 10, 2002Recycler bpm Proposal8

fFermilabJuly 10, 2002Recycler bpm Proposal9

fThe Read FunctionFermilab Waits on FIFO transfer to complete Transfers data from FIFO to MVME2401 via DirectMemory Access (DMA)July 10, 2002Recycler bpm Proposal10

fIntegration into Recycler BPM FrontEndFermilab Data Engine Class will be developed Engine will have 3 modes of operation– Flash– Turn by Turn– Calibration Engine stores data in Front End in Raw mode– Is and Qs Engine accepts data back from Front End for processing– Positions, Intensities, Averages.July 10, 2002Recycler bpm Proposal11

fTroubles with theECDR-214-PMCFermilab When doing TBT in Synchronized mode FIFOs can get outof sync. Echotek will work on the VME DMA interface and TBTon the ECDR-GC814 for now.July 10, 2002Recycler bpm Proposal12

fConclusionsFermilab We have been able to prove that this style of BPM can doFlash and TBT measurements. Echotek has had good response with problems that haveoccurred. Integration into the current Recycler BPM Front End willsave a great deal of development time.July 10, 2002Recycler bpm Proposal13

Fermilab Programming the Echotek ECDR-GC814 Thomas S. Meyer Fermi National Accelerator Laboratory. July 10, 2002 Recycler bpm Proposal 2 f Fermilab Introduction This talk is intended to be an overview of the programming required to run the ECDR-GC814 VME card. July 10, 2002 Recycler bpm Proposal 3 f