HOW TO TAKE Test Pulse Timing Scan Data
(TOF GTM stand alone mode)      

5/12/2001 by T.Chujo   

0) login "phoncs0" from "phoncs" account
  and execute "setuponcs"


1) Initialize Timing module and FEM
  > feed.pl &


feed_pl1   feed_pl2
Fig1. feed.pl display (initial)                                                            Fig 2. feed.pl display after clicking "TOF"

    -> click TOF
                 1. init timing
                 2. glinkreset
                 3. init fem N
                 4. init fem S

    arcnet_client: configuration file:
    "/export/software/oncs/online_configuration/Arcnet/tof/acf/tof_timing.acf"
    "/export/software/oncs/online_configuration/Arcnet/tof/acf/tof_initN.acf"
    "/export/software/oncs/online_configuration/Arcnet/tof/acf/tof_initS.acf"

    [Message]
    arcnet_client: Total number of errors: 0 from 6 files
    arcnet_client: Total number of errors: 0 from 28 files
    arcnet_client: Total number of errors: 0 from 28 files

2) GTM setting
  > gtm GTM.TOF.E

gtm_tof1
Fig3. GTM.TOF.E display

    -> click "File" and select "Load Mode Bits"
    -> select "GTM.TOF.TPFA.gtm" and click "Open"
    -> click "Schedular Reset" and see Level 1 counters are "00000000"
       both "Level 1" and "Level1 Busy"
    -> click "Toggle Level 1 Block State" and make yellow signal
    -> click "Toggle Local Forced Accept State" and make yellow signal

tof_gtm3
   
3) DCM setting
  > dcm tof.e
  > 301      Read Configuration File
  > 302      Show Current Configuration
  > 303      Initialize Current Configuration
  > 25       Check Ready State

  -------------------------------
  DCM control command
  -------------------------------
  (301) Read Configuration File
  (302) Show Current Configuration
  (303) Initialize Current Configuration
  (25) Check Ready State
  (305) Start Run for Current Configuration
  (306) Stop Run for Current Configuration
  (96) Initialize DD
  (97) End DD
  (98) Change Frame Size for SEB Test
  (99) Change Send Delay for SEB Test
  (307) Turn off all busies for Current Configuration
  (308) Set the GL1 Partition Id
  (309) Print the DCM Monitor Info
  (310) Verify On-Board Memory (eg. Ped)
  (311) Verify Level-1 Input Path
  (312) Change Readout Method
  (700) Configure to talk to another DCM
  (800) Switch to Master-DCM Expert Mode
  (900) Exit task
  -------------------------------

4) Run time scan script

  in GTM window, click "START"
  > cd /export/bigdisk/tof/script_tscan/
  > tof_tscan.tofgtm <run#> | tee ./log/xxxx.log
 

* ts command for boot
> ts iocondev4a
(auto boot) Ctr+x
(exit)      Crt+]
(quit)      telnet> quit
              or   close
* ddump command

> ddump -n0 -i -p (packetid) -f <file> | more