Electron Cloud PEP-II

 

 

Electron cloud experiment page. Go to: start SCP panel, measure e- current, measure e- energy distribution, Plot save download

 

 


EXPERIMENT LAYOUT

 

 

 

CHANNELS CHART.

 

Device Name Function Experiment name Chamber name
PR12      
       
 EDCO3100  ENERGY ANALYZER:  COLLECTOR  SEY   
 EDGA3100  ENERGY ANALYZER:  GA (grid 1)  SEY   
 EDGB3100  ENERGY ANALYZER:  GB (grid 2 and 3)  SEY   
 EDGC3103  ENERGY ANALYZER:  GC (grid 4)  SEY   
 EDCO3092  COLLECTOR 1  GROOVE  GROOVE # 1
 EDCO3091  COLLECTOR 2 SMALL  GROOVE  GROOVE # 1
 EDCO3083  COLLECTOR 3  GROOVE  FLAT # 1
 EDCO3082  COLLECTOR 4  GROOVE  GROOVE # 2
 EDCO3081  COLLECTOR 5 SMALL  GROOVE  GROOVE # 2
 EDCO3073  COLLECTOR 6  GROOVE  FLAT # 2
 EDSWTCH1  SWITCH CURRENT SCALE 1-100  SEY  1 COLLECTOR
 EDSWTCH6  SWITCH CURRENT SCALE 1-101  GROOVY  6 COLLECTORS (ALL)
 T3100EC1  THERMOCOUPLE  SEY  
 T3100EC2  THERMOCOUPLE  SEY  
 T3100EC3  THERMOCOUPLE  SEY  
 T3100EC4  THERMOCOUPLE  SEY  
 DAC CARD  CONTROL 500V POWER SUPPLY, READBACK ON EDGB3100  SEY   

 

 


Operate experiment: Start SCP panel

 

 

Connect to SCP panel and run SCP panel
Launch X-Win 32.

Launch Tera Term Pro SSH.

Connect to host: mcc.slac.stanford.edu. Then open SCP panel by

MCC> scp xt "your-login-name"

SCP panels should pop up

 


 

REAL TIME DATA ACQUISITION

        You can monitor any channel in real time:

INDEX  ->  CORR. PLOT PANEL  ->  "F8" on keyboard  ->  hit DOWN until select "REAL_TIME_PLOT" which is the 12th macro ->  4000  ->  enter variable name (either LER current LB60:DCCT:SUMY or ASTS PR12 DATA ELCO3100).

 

 

 

MONITOR CHANNELS

        You can find a display on the SCP as follows:

 

INDEX -> Low Energy Ring Panel -> Electron Cloud (PR12) Panel -> Electron Cloud Analog Display

 

 

                                    

 

 

 

 

PLOT A CHANNEL IN TIME

        this takes ~ 6 min for each data point:

Plot electron cloud current or thermocouple temperature vs time:

INDEX  ->  Low Energy Ring Panel  ->   Electron Cloud (PR12) Panel  ->  Electron Cloud Analog Display  ->  ANALOG STATUS DIAG  ->  NEXT CHANNL hit untill you have selected the correct channel then  ->  HSTB (AUTO SCALE)  ->  ANALOG HIST PANEL  ->  change time scale here.

 

                                           

 

 

CORRELATION PLOTS 1

        You can correlate two variables:

Plot variable A vs B:  Index ->  SPECAL DISP  ->  Lumn Histry Plots -> LER DCCT Currnt (LER current is LB60 DCCT SUMY) -> (Enter Time Scale -> 3-Jan-2007 10:00)  ->  HISTR BUFFER CORREL  ->  A ATTACH LAST  ->  INDEX  ->  Low Energy Ring Panel  ->   Electron Cloud (PR12) Panel  ->  Electron Cloud Analog Display  ->  ANALOG STATUS DIAG  ->  NEXT CHANNL hit untill you have selected the correct channel then  ->  HSTB (AUTO SCALE)   ->  ANALOG HIST PANEL  ->  HISTR BUFFER CORREL  ->  B ATTACH LAST  ->   CHART TYPE A vs B  ->  PLOT CORREL

 

CORRELATION PLOTS 2

        Macro to plot all e-cloud channels and LER current vs time:

INDEX  ->  CORR. PLOT PANEL  ->  RESTORE BUTTON FILE  ->  "Data_acquisition.btn"  ->  set ZERO/RANGE buttons to "TIME" appropriate steps   ->  click TRIM /PTRB Toggle button to PTRB  ->  SETTLE TIME to 0.0  -> START AUTO ACQ.

 

SOLENOID MULTIKNOB

        Multiknob to change current on SOLN PR12 3092 and 3 correctors orbit correction:

INDEX  ->  MULTI DEVICE KNOBS  ->  directory help  ->  pr12sol* (PR12SOLN3092.MKB) to find the knob then > Enter *User* File  (specify name knob)  ->   *User* file  ->    Multi Knob 0. Then teak the knob. This knob increases by 1 Ampere in the solenoid for each unit.

 

SHOW THE BUNCH PATTERN

1) Index  ->  PEP-II Timing  -> BIC EPICS DISPLY  ->  from the pop-up window Left click on EXPERT select "Both Fills Raios" from another pop-up window left ckick to Zoom or right click to select more.

2) Index  ->  PEP-II Timing  -> PEP EPICS DISPLY PANEL  ->  Fill CUD       

3) Index  ->  SPECAL DISPLY  ->  LUMN HISTRY PLOT  ->  Fill pattern History Panel  ->  Number Overlap Buckets

4) ACTUAL FILE USED TO LOAD BEAMS IS AT: from the DecTerminal  -> 

MCC> set def REF_GOAL   

MCC> dir *by2_t32..*

MCC> eve by2_t32_50_s.goal

To exit "Do" button on keyboard and then EXIT (exit without saving) or CTRL+Z (attention this save the file !!) or CTRL+Q??? and then exit.

 

BUMPS (ARTEM KULIKOV)

Generate X BUMP upstream of the ecloud chambers and Y BUMP:

INDEX  ->  MULTI DEVICE KNOBS  ->  directory help  -> LX* to find the knob then > Enter *User* File, then specify name knob: LX_PR124022.mkb;2 OR LY_PR123072.mkb;1  ->   *User* file  ->    Multi Knob 0. The knobs should correspond to millimiters. Use also the CORRELATION PLOT data_acquisition.btn and include the variables:

asts pr12 xcor 4042 bact

asts pr12 xcor 4022 bact

asts pr12 xcor 3103 bact

asts pr12 ycor 3092 bact

asts pr12 ycor 3072 bact

asts pr12 ycor 3052 bact

 

(ssh mcc -l mccscp, scp xt mccscp, to avoid timeouts)


 

MEASURE ELECTRON ENERGY DISTRIBUTION

From an existing MACRO BUTTON

1) PEP-II Index  ->  CORR. PLOT Panel  ->  Restore Button File  ->  retrieve "energy_analyzer_1eV_steps.btn"  ->  "ZERO" (at the level of Primary Step Variable)  ->  write "AMPL PR12 1 VDES" on pop up window  ->  RANGE  ->  enter starting value "0" enter number of steps "501" and increment "0.02" [for faster acquisition enter: "0", "101", "0.1"] ->  OK  ->  Toogle the "TRIM / PTRB Toogle TRIM" button to PTRB   ->  SETTLE TIME   ->  greater or equal to 1.5 sec  ->  OK ->  1.5 sec  -> OK  ->  Start Auto Acq.

 

Steps to setting up the measurements FROM SCRATCH

Normally, I already set up a macro button called "energy_analyzer_1eV_steps". If you want to set up from scratch then,

1) PEP-II Index -> CORR. PLOT Panel -> "ZERO" (at the level of Primary Step Variable) -> write "AMPL PR12 1 VDES" on pop up window

 

 

2) -> Range -> enter starting value "0" enter number of steps "500" and increment "0.02" -> OK. [This scans the DAC from 0-10V in steps of 0.02V moving the retarding power supply by 1eV steps from 0 to -500V. The power supply OUPUT to the SAM will be negative 0 to -10V].

3) Click the "ZERO" button near "Optional Range Entry Primary". Enter the name of the power supply "ASTS PR12 DATA EDGB3100" -> OK.

4) Click the next "ZERO" button near "Optional Range Entry Primary". Enter the name of the collector "ASTS PR12 DATA EDCO3100" -> OK

5) Toogle the "TRIM / PTRB Toogle TRIM" button to PTRB -> SETTLE TIME -> 1.5 -> 1.5

 

 
 
5) If you wish to save to a macro button, then:

            -> Save Button File.

You just saved the macro name to be retrieved at a later time with "Restore Button File" in this same Panel.

6) Measurement of energy distribution:

            -> Start Auto Acq.

6) Plot data just taken: 

            from the "Correlation Plot" panel   ->   01-20 Disply Panel   ->   All Plots X   ->   first select the button AMPL PR12 1 VDES   ->   then select the button "ASTS PR12 DATA EDGB3100" or the data "ASTS PR12 DATA".

 


PLOT, SAVE, DOWNLOAD OPERATIONS

Plot data just taken

from the "CORR PLOT panel" -> 01-20 DISPLY PANEL  ->  ALL PLOT X  ->  "ASTS PR12 DATA EDGB3100"  -> then "ASTS PR12 DATA EDCO3100", this are the real data: electron detector collector vs SAM data.

Display Data just taken

from the "CORR PLOT Panel" -> 01-20 DISPLY PANEL  ->  ALL PLOT X  ->  select the X variable "ASTS PR12 DATA EDGB3100"  -> DISPLY PLOT COORDS  ->  display Y coordinate "ASTS PR12 DATA EDCO3100".

Save data just taken

From the "CORR PLOT Panel"  ->  01-20 DISPLY PANEL -> AUXIL I/O PANEL  ->  save the data in Matlab format by  "Matlab 20/20 OUTPUT"  ->  M or U  ->  ecloud.m   

(OPTIONAL the "CORR PLOT Panel"  ->  01-20 DISPLY PANEL   ->  AUXIL I/O PANEL  ->  OUTPUT FILE NAME  ->  file-name.dat  ->  COPY ALL TO FILE (now data are copied). )

Transfer data to PC

So far, the easiest way to download a file is to connect by FTP from a PC.  From the PC: Start -> All Programs  ->  Accessories  ->  Command Prompt. Connect to directory where you want to transfer files, I will call this directory "Measurements"

C:\> cd C:Measurements

C:\> ftp mcc.slac.stanford.edu  (enter your mcc User and Password). Then to download a file.dat use the command

ftp> "get file.dat"       Data are now stored in your C:\Measurements directory.

Re-load old data to be displayed

In the AUXILIARY I/O PANEL ("CORR PLOT Panel"  ->  01-20 DISPLY PANEL   ->  AUXIL I/O PANEL)

    -> RELOAD FROM FILE (enter the known name of a file with data to be restored for plotting)

This button will Restore data but does not set up to re-acquire data!

To Save a Figure on a Screen or Display 

Select the screen then on the keyboard: CTRL + ALT + PRINT SCREEN. Then CTRL +V to copy the figure on a logbook.
 

 

PRINT DATA FROM ANY DISPLAYED PLOT.

        To take the data from a plot on the screen:

          Here are the steps to get the numeric data for a plot that you see on the screen. Note: the plot of interest must still be on      the screen during this procedure for you to see the numeric data.

Get the display on the screen, then use the following path:

Index->Special Display->General History Plots->Plot Scale Pnl->Display Index->Plot Data

Print All Text button will print the numeric data.

To put the data to a file, follow this procedure:

Index->Special Display->Print Cntrl->Aux Print Panel->Text to File

Enter a file name where you want to have the file stored. Then hit Print All Text (File).

 

HISTORY CORRELATION PLOT (FRANZ JOSEPH DECKER)

This catch the variables as you see them in the HISTORY CORR PLOT to export them on a file.

Connect to a decterm, be sure to be connected to mcc, then:

mcc> matlab

matlab> hstb_start='18-03-2007 12:00'

matlab> hstb_stop='18-03-2007 12:00'

matlab> [d1,t1]=hstb_get=('asts','pr12','1000','data','elco3092')

matlab> [dc,tc]=hstb_get=('lb60:dcct:sumy.val')

matlab> xc=interpolation([tc dc], t1)

matlab> figure(1)

matlab> plot(xc,-d1,'c*')

optional: matlab> plotfj, xlabel('Ler [mA]'),ylabel('Electron current [A]'),axis, etc.

(also helpful matlab comands: help hstb_get, help hstb_start, help hstb_stop,!dir hstb*, type toolbox:slc]htsb_start.m )

then save xc,-d1 on a file

 


MEASURE AMPL1 DAC AND SAM CHANNELS

        Index -> Low Energy Ring Panel -> Electron Cloud (PR12) Panel

 

        -> ENTER VDES  -> "input value" -> TRIM

 

Note the DAC and SAM must be connected in loop for this button to work.

 

 

 

 


Post your comments here.   

                                                                                                                         Hit Counter since March 2005.

Back to Top | Home | Site Map | SLAC | NLC | NLC-Tech | SLAC Web Email |