!******************************************************************** ! SAMPLE .SCA FILE FOR MSU SCALER DISPLAY PROGRAM !******************************************************************** !NOTES: ! 1. THIS .SCA FILE HAS MANY COMMENTS SO YOU GET AN IDEA OF HOW TO WRITE YOUR OWN ! 2. lines beginning with "!" are comment lines and are optional ! 3. two 16-channel reads for a LeCroy 4334 are handled by this .SCA file !----------------------------- ! Title section: !----------------------------- !the title goes on the left of the screen at the top. !each page can then have an additional subtitle to the right of the title ! TITLE "6DSSD Run -- October '94" SUBTITLE 1 "MASTER: Clocks, triggers, bits, etc." SUBTITLE 2 "DT gated CFD ORs, Front and Back" ! !--------------------------------------- ! Input definition section !--------------------------------------- !this section assigns a name to each element of the !scaler data buffer. ! --- SLOT 1 --- ! inputs 1-16 (16 channels of a LeCroy 4334): INPUT 001,001 "Live Clock" ! ^ ^ ^ ! | | | ! | | name used to refer to this number ! | | ! | channel # (really just which number within a grouping of 12) ! | ! module # (really just which grouping of 12 numbers) ! INPUT 001,002 "Free Clock" INPUT 001,003 "In-Lock Clock" INPUT 001,004 "Live Current" INPUT 001,005 "Free Current" INPUT 001,006 "Total Triggers" INPUT 001,007 "Event 1" INPUT 001,008 "Event 2" INPUT 001,009 "Live Monitor" INPUT 001,010 "Free Monitor" INPUT 001,011 "Live Singles" INPUT 001,012 "Free Singles" !INPUT 002,001 ******notice that we use only 12 of 16 channels, !INPUT 002,002 but we insert these 4 blank lines to help !INPUT 002,003 keep track of where we are in the scaler !INPUT 002,004 data buffer since we did a 16-ch read. ! ! --- SLOT 1 --- ! inputs 17-32: (second group of 16 channels in LeCroy 4334) ! INPUT 002,005 "OR Front 1" ! ^ ^ ! | | ! --------note that this is the 1st channel in the 2nd group of 16 scalers, ! but that it is called channel #5 in the 2nd group. Remember that ! these channel #'s are based on groupings of 12. ! INPUT 002,006 "OR Back 1" INPUT 002,007 "OR Front 2" INPUT 002,008 "OR Back 2" INPUT 002,009 "OR Front 3" INPUT 002,010 "OR Back 3" INPUT 002,011 "OR Front 4" INPUT 002,012 "OR Back 4" INPUT 003,001 "OR Front 5" ! ^ ! | ! | ! note that this is called slot 3 even though we have only 2 16-channel scalers. ! that is again because the program thinks scalers have 12 channels. ! INPUT 003,002 "OR Back 5" INPUT 003,003 "OR Front 6" INPUT 003,004 "OR Back 6" !INPUT 003,005 *******blank lines just to help us keep track !INPUT 003,006 !INPUT 003,007 !INPUT 003,008 ******* (2 slots * 12 chan) + (1 sl * 8 ch) = (2 16-chan scalers) ! !--------------------------------------------- ! Live screen definition section !--------------------------------------------- !this section defines what numbers are displayed on each line of the !scaler display terminal. You can fit ~18 lines on each page and can !have many pages if you happen to have too many things for 1 page. !NOTE: the spelling, punctuation, spacing, capitalization of the names ! in this section must exactly match what you typed in the above ! definitions section. !--- PAGE 1 --- MASTER --- ! DISPLAY 1 1 "Total Triggers" ! ^ ^ ^ ^ ! | | | | ! | | | name ! | | | ! | | line # on the screen ! | | ! | page # ! | ! to display one #/line (it appears in scaler 1 column, other columns are 0) ! DISPLAY/RATIO 1 2 "Live Clock","Free Clock" ! ^ ! | ! | ! to display 2 #'s (scaler 1, scaler 2)and their ratio (1 / 2) ! DISPLAY/RATIO 1 3 "In-Lock Clock","Free Clock" DISPLAY/RATIO 1 4 "Live Current","Free Current" DISPLAY/RATIO 1 5 "Event 1","Total Triggers" DISPLAY/RATIO 1 6 "Event 2","Total Triggers" DISPLAY/RATIO 1 7 "Live Monitor","Total Triggers" DISPLAY/RATIO 1 8 "Live Monitor","Free Monitor" DISPLAY/RATIO 1 9 "Free Monitor","Free Current" DISPLAY/RATIO 1 10 "Live Singles","Free Singles" DISPLAY/RATIO 1 11 "Live Singles","Total Triggers" ! !--- PAGE 2 --- DISPLAY/RATIO 2 1 "OR Front 1","OR Back 1" DISPLAY/RATIO 2 2 "OR Front 2","OR Back 2" DISPLAY/RATIO 2 3 "OR Front 3","OR Back 3" DISPLAY/RATIO 2 4 "OR Front 4","OR Back 4" DISPLAY/RATIO 2 5 "OR Front 5","OR Back 5" DISPLAY/RATIO 2 6 "OR Front 6","OR Back 6" DISPLAY 2 8 "Total Triggers" DISPLAY/RATIO 2 9 "Live Clock","Free Clock" DISPLAY/RATIO 2 10 "Free Monitor","Free Current" ! END ! ^ ! | ! | ! needed as last line in file