Search/Navigation:
Related:
SLAC/EPP
/HPS Public
Jefferson Lab/Hall B
/HPS Run Wiki
S30XL-LESA/LDMX
...
Code Block |
---|
ppa-pc88427 \~$ cd pelle/daq/coda ppa-pc88427 \~/pelle/daq/coda$ source coda_user_setup |
...
Code Block |
---|
ppa-pc88427 \~/pelle/daq/coda$ msqld& |
First terminal:
Code Block |
---|
ppa-pc88427 \~/pelle/daq/coda$ rcplatform |
See below for expected output. If it's the first time you should answer 'Y' to the questions.
Second terminal:
Code Block |
---|
ppa-pc88427 \~$ cd pelle/daq/coda
ppa-pc88427 \~/pelle/daq/coda$ source coda_user_setup
ppa-pc88427 \~/pelle/daq/coda$ codamaster
|
You should get a GUI with the different configurations available. Select "cool" and press OK.
Third terminal:
Code Block |
---|
ppa-pc88427 \~$ ./pelle/daq/coda/trackerRoc
|
See below for expected output. You should also see that the ROC1 being registered in the rcplatform terminal.
In CODA master:
No Format |
---|
* Config->Enable buttons
* Click Event Builder
|
This should open an xterm and you should see EB1 being connected in the logs.
No Format |
---|
* Click Run Control
|
In the RC GUI:
No Format |
---|
* Platform->Connect
|
First time running?
First time you will need to setup configuration
No Format |
---|
* Session-> new = pelletest (or what you named you session above)
* options-> coda2 database-> run types = cool
|
Answer yes to translate
No Format |
---|
* configurations->cool
|
This should enable and connect run control properly to the session.
No Format |
---|
Press Configure in codamaster
|
EB1 and ROC1 should be configured
No Format |
---|
Press download in coda master
|
EB1 and ROC1 should be downloaded
No Format |
---|
Press prestart in coda master
|
EB1 and ROC1 should be paused
No Format |
---|
Press Go
|
...
...
Code Block |
---|
ppa-pc88427 \~/pelle/daq/coda$ rcplatform
|
Example output expected:
No Format |
---|
>> \*\**\* cMsg server sucessfully started at Fri Mar 29 11:42:40 PDT 2013 **\*\* <<
\*************************************************\*
\* Afecs-1.4 Platform *
\*************************************************\*
\- Name = hps_tracker
\- Host = ppa-pc88427.slac.stanford.edu
\- TCP port = 45000
\- UDP port = 45000
\- RC UDP port = 45200
\- Start time = 2013/03/29 11:42:41
\- Database at = /home/tracker/pelle/daq/coda/2.6.2/../cool
\*************************************************\*
\*************************************************\*
\* Afecs-1.4 Container *
\*************************************************\*
\- Name = ppa-pc88427.slac.stanford.edu_admin
\- Host = ppa-pc88427.slac.stanford.edu
\- Start time = 2013/03/29 11:42:43
\- Connected to:
\- Platform Name = hps_tracker
\- Platform Host = ppa-pc88427.slac.stanford.edu
\- Platform TCP port = 45000
\- Platform UDP port = 45000
\- Platform RC UDP port = 45200
\*************************************************\*
APlatform:Info Registration request from ppa-pc88427.slac.stanford.edu_admin agent running at ppa-pc88427.slac.stanford.edu. 11:42:43 03/29
|
Second terminal:
Code Block |
---|
ppa-pc88427 \~$ cd pelle/daq/coda
ppa-pc88427 \~/pelle/daq/coda$ lt
ppa-pc88427 \~/pelle/daq/coda$ source coda_user_setup
ppa-pc88427 \~/pelle/daq/coda$ codamaster
|
You should get a GUI with the different configurations available. Select "cool" and press OK.
...
Code Block |
---|
ppa-pc88427 \~$ ./pelle/daq/coda/trackerRoc |
...
No Format |
---|
Setting up coda 2.6.2 from /home/tracker/pelle/daq/coda/2.6.2
AFECS Home set to /home/tracker/pelle/daq/coda/2.6.2/afecs
done.
MSQL DATABASE = hps_tracker
WARNING: Could not get uid and gid info from database
number of args in the id entry of sessions is 1
CODA 2.6.2,Name : ROC1, Type ROC Id : 0
pelletest::ROC1> INFO: Starting up rcClient Thread...Running the cMsg RC client, "ROC1"
connecting to UDL, cMsg:rc://multicast/hps_tracker
Connect is completed\!
subscribing subject = ROC1 type = run/transition/\*
subscribing subject = ROC1 type = session/control/\*
subscribing subject = ROC1 type = coda/info/\*
|
You should also see that the ROC1 being registered in the rcplatform terminal.
In CODA master:
No Format |
---|
* Config->Enable buttons * Click Event Builder |
This should open an xterm and you should see EB1 being connected in the logs.
No Format |
---|
* Click Run Control
|
First time you will need to setup configuration
No Format |
---|
* Session-> new = pelletest (or what you named you session above)
* options-> coda2 database-> run types = cool
|
Answer yes to translate
No Format |
---|
* configurations->cool
|
This should enable and connect run control properly to the session.Press Configure in codamaster
EB1 and ROC1 should be configured
No Format |
---|
Press download in coda master
|
EB1 and ROC1 should be downloaded
No Format |
---|
Press prestart in coda master
|
EB1 and ROC1 should be paused
No Format |
---|
Press Go
|
Updated 3/29/13 - Per Hansson Adrian
...