Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Software installation locations (11 Ago 2021)

(minus) Any crate related command should be issued by SVT experts only

SDK software installation to talk to the atca crate

...

python SvtCodaDummy.py --local --env JLAB

Start data taking with Coda

Here are the instructions to how to start Coda with clasrun user

...

python SvtCodaDummy.py --local --env JLAB
1) Open a terminal on clonfarm3
> bash
> sconda    #setup conda
> crogue    #activates rogue environment
> startCodaRun    #starts Rogue Coda Run Gui
 
2) Open a terminal on clonfarm3
> bash
> sconda; crogue; startCodaDummy   #starts the dummy rogue server
 
3) Open a terminal on clonfarm3
> runcontrol -rocs
 
Then:
 
connectconfigure (hdice1_clonfarm1_clon10new to run with both cobs, hdice1_clonfarm1 to run with top cob, hdice1_clon10new to run with bottom cob) download (for both cobs use hps_v2_noThr.trg)PrestartGo

Coda informations:

We are using conda release 1.4.0, installed in

...


Taking a CODA run

Info

If opening the Rogue GUIs for the first time, make sure all of the FEBs are turned off. 


To take a CODA run, both the rogue server and a dummy server need to be started.   To start the rogue server, first ssh into clonfarm2 and issue the following commands

Code Block
source /usr/clas12/release/1.4.0/slac_svt_new/anaconda3/etc/profile.d/conda.sh
conda activate rogue_5.9.3
cd /data/hps/slac_svt/server/heavy-photon-daq/software/scripts/
python SvtCodaRun.py  --local --env JLAB --epicsEn

The dummy server runs on clonfarm3 and can be brought up as follows after ssh'ing into that machine

Code Block
source /usr/clas12/release/1.4.0/

...

Update Coda libraries

If event_builder or rogue_lite change, coda libraries need to be updates. Just run

...

slac_svt_new/anaconda3/etc/profile.d/conda.sh
conda activate rogue_5.9.3
cd /data/hps/slac_svt

...

/server/heavy-photon-daq/software/scripts/
python SvtCodaDummy.py  --local --env JLAB --epicsEn

At this point, the FEBs and hybrids can be brought up via the medm GUIs.


Once the hardware has been powered up, you can initialize a run in CODA using the configuration PROD77_SVT and the config file hps_v2_svtOnly_noThresh.

(minus) CODA run control should be running in a VNC on clondaq7.  If not, contact the DAQ expert.  

Coda / Rogue Errors

1) RssiContributor::acceptFrame[X]: error mistatch in batcher sequence 000000dc : 00000000

...