Tags

Making Beam Measurements with CBPM II Devices

This document pertains to running programs on VMS. Each hardware type has a directory named [CESR.PALMER.TS101.{XXM}] where {XXM} is the 3 letter abbreviation for the device type. The X-ray BSM is included under BSM. In each directory is a README.TXT file containing extensive documentation of the software and how to use it. In general, one sets up the bunches to be sampled and then runs a program that acquires the data and writes it to a file.

In general, to prepare a sensor unit to take data one must:

BPM and BSM Setup

  1. DO [CESR.PALMER.TS101.COM]INIT. This defines symbols that are useful for selecting bunches and plotting data.
  2. Under [CESR.PALMER.TS101], in the [.BPM], [.BSM] or [.FLM] directory, type set_dsp_bunches filename to select which bunches will be sampled. The programs use EBUNCHES.DAT and PBUNCHES.DAT.
  3. Note that the BPM system uses files with extension .INI while the BSM uses .INP.
  4. If the DSP module has been powered down, then:
    1. The code must be downloaded using the appropriate DO DL_{DEVICE}.COM command file where {DEVICE} is a specific device in a specific location.
    2. The Coldfire ethernet interface must be initialized by telneting to the Moxa server for that module and typing go and then ctrl-[ (control left bracket) to escape. See Coldfire Inventory for a list of Moxa server IP addresses for each physical device.
  5. There are .INI and .INP files for performing timing scans as well as command files that execute timing scans and plot the results. Please look for these files in the appropriate directories.

BPM (Beam Position Monitor)

The program for acquiring BPM data is [CESR.PALMER.TS101.BPM]BPM_V1.EXE. It uses BPM_V1.INI as input. Copy BPM_V1_PROMPT.INI to BPM_V1.INI and run BPM_V1 to execute the program interactively.

Data acquisition is facilitated by command files located in [CESR.CESRBPM.ECLOUD] and by a series of configuration files located in [CESR.PALMER.TS101.BPM]. For electrons, configuration files are named BPM_V1_{function}_E.INI and bunch selection files are named EBUNCHES_{function}.DAT, for example, BPM_V1_CHESS_E.INI and EBUNCHES_CHESS.DAT.

  1. Path to [CESR.PALMER.TS101.BPM]
  2. Type DO [-.COM]INIT and set DSP bunches as necessary.
  3. Path to [CESR.CESRBPM.ECLOUD]
  4. Type DO SETUP CP|E {gain} {turns}. CP indicates CHESS positrons, CE indicates electrons. Gain and number of turns are optional to override the defaults. The command file SETUP.COM copies an appropriate INI file to BPM_V1.INI and copies the appropriate bunch selection files to EBUNCHES.DAT and PBUNCHES.DAT.
  5. Type DO GET_DATA to acquire data and write it to a file.
  6. Type DO TAKE_DATA_SEQ to automatically turn on the bumper and pingers and take data for electrons and positrons in sequence. Please coordinate with CESR Operations Director before taking data in this manner.
  7. Type PLOTTUNES to view the BPM data.

BSM (Beam Size Monitor)

The program for acquiring BSM data is [CESR.PALMER.TS101.BSM]BSM_V1.EXE. It uses BSM_V1.INP as input. Copy BSM_V1_PROMPT.INP to BSM_V1.INP and run BSM_V1 to execute the program interactively.

Each BSM data record can be very large, so the data is written in binary to speed up the writing process during multiple data acquisitions. The binary file must be converted to ASCII for use with WLPLOT and other programs that use plain text. SORT_BUNCHES_B.EXE converts a file from binary to ASCII.

FLM (Fast Luminosity Monitor)

The FLM is much different from the BPM and BSM. It is installed only when CESR is operated at low energy for CLEO-c and has a series of programs that run continuously during operations.

After the FLM has been installed:

  1. The FLM DSP code is stored in onboard nonvolatile memory and need not be downloaded. Also, the FLM does not yet use ethernet for communication.
  2. To test the FLM, path to [CESR.FLM.COM] and type DO RESET_FLM_HV. This will reset the ready chain, turn on the HV power supplies and set them to appropriate voltages. With the voltages on, one can test each channel using an oscilloscope.
  3. Path to [CESR.AVERAGER]. Edit AVERAGER.INP and replace the 0 with 64. This tells the detached process AVERAGER that the FLM is installed.
  4. Path to [CESR.COM] and edit CRF04_BS.COM to include all of the FLM windows.
  5. At the CRF04 console in the control room, log into CESR28 and type DO CRF04_BS. This command file will generate a series of child windows to be used with the FLM. The original window should be minimized, since logging out of it will cause all of its children to vanish. The command file will first set the process name of each window and will then use that process name to start the appropriate FLM program in each window (it is no longer necessary to type DO AT in each window).

After the FLM has been removed for high energy operation, edit CRF04_BS.COM to exclude the FLM windows.

-- GeraldCodner - 20 Aug 2007
Topic revision: r1 - 13 Nov 2007, MattRendina
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CLASSE Wiki? Send feedback