Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Recommended host settings used in examples

 

SLAC (stand-aloneLab1)

SLAC (cosmic telescope)

CERN

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="54d86642-d874-4b08-9775-52f60198898b"><ac:plain-text-body><![CDATA [ [BUILD_HOST]

rddev101

rddev101

lnxatd76

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="194d9e69-df37-458b-913d-02c1e921acf6"><ac:plain-text-body><![CDATA[

pcslac02a

[IPC [XMD_HOST]

atca01

rdcds105

pcslac02a pcphuat27

[RCE] ]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0cb24b3f-368f-402a-9813-c37ff7889d59"><ac:plain-text-body><![CDATA[

[IPC_HOST]

atca01

rdcds105

lnxatd76

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="27382379-cf24-44b3-a967-df5bf07124bb"><ac:plain-text-body><![CDATA[

[RCE]

rce20

rce22

rce31

]]></ac:plain-text-body></ac:structured-macro>


rce20

rce22

rce27

[RCE_INTERFACE]

0

0

1

...

SLAC module setup:

...

Cosmic Telescope (rce20)

...

Module

Channel

TurboDAQ Configuration File

M511958

2

/reg/g/atlas/rcecalib/moduleconfigs/M511958/configs/CosTel.cfg

M512819

3

/reg/g/atlas/rcecalib/moduleconfigs/M512819/configs/CosTel.cfg

M512737

6

/reg/g/atlas/rcecalib/moduleconfigs/M512737/configs/CosTel.cfg

M512855

7

/reg/g/atlas/rcecalib/moduleconfigs/M512855/configs/CosTel.cfg

...

SLAC Lab1 Teststand (there is no known good module configuration available: M511958 can be used instead)

...

Module

Channel

TurboDAQ Configuration File

M12898

4

/reg/g/atlas/rcecalib/moduleconfigs/M511958/configs/CosTel.cfg

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0481c942-8e45-4fd6-9753-587832e88ec6"><ac:plain-text-body><![CDATA[

[RCE_INTERFACE]

0

0

1

]]></ac:plain-text-body></ac:structured-macro>

A teststand can be booked here:

...

Setup for Bourne-Shell
Code Block
source  /reg/g/atlas/rcecalib/setup/setup_rce.sh
Or adding the

...

following lines to $HOME/.bash_profile
Code Block

if [ !  -r /reg/g/atlas/rcecalib/setup/setup_rce.sh ]; then
source /reg/g/atlas/rcecalib/setup/setup_rce.sh 2>&1 > /dev/null
fi
Checking out  and setting up the RCE and STControl/PixLib packages into a directory. The setup scripts assume that top RCE release directory is found in $HOME/rce. HOME should point to /reg/lab1/home/$USER. Several release installations should be managed by symbolic links.
Code Block
[BUILD_HOST] mkdir $HOME/RCE
[BUILD_HOST] cd $HOME/RCE
[BUILD_HOST] cvs co -d rcecalib-CVS-HEAD release
[BUILD_HOST] cd $HOME
[BUILD_HOST] ln -s RCE/rcecalib-CVS-HEAD rce
[BUILD_HOST] cd rce
[BUILD_HOST] cvs co pixlib rce rceapp rceers rceowl rcecalib rceipc rceis rceoh rceusr
[BUILD_HOST] cp rcecalib/projects.mk.template projects.mk
Building the RCE and

...

STControl/pixlib packages.

...

Note: for  some RCE the code needs to be compiled  compiled with the RCE_INTERFACE=1. The default setting is RCE_INTERFACE=0 (see table above)

...

Code Block
[BUILD_HOST] make i386-linux
[BUILD_HOST] make ppc-rtems-rce405-opt RCE_INTERFACE=1
[BUILD_HOST] cd pixlib
[BUILD_HOST] make

...

  • Start ipc initial and 'rcetest' partition
    Code Block
    [IPC_HOST] ipc_server &
    [IPC_HOST] ipc_server -p rcetest &
    [IPC_HOST} is_server -p rcetest -n RceIsServer &
    
  • Download the calibration server application to the RCE.
    Code Block
    
    host_bootloader -r rce31 -s cmdcalib.txt -i ~/ipc_root.ref -l ~/rce/build/rcecalib/mod/ppc-rtems-rce405-opt/calibservermod.1.0.prod.so
    
  • cmdcalib.txt contains commands executed by host_bootloader. For example
    Code Block
    
    reboot
    setenv TDAQ_PARTITION rcetest
    setenv TDAQ_IS_COMPRESSION_THRESHOLD 100000000
    reboot
    _dow is an expect-script to automate the download via xmd.
    Code Block
    
    [XMD_HOST] rce_dow
    
  • Run the command line calibration client on the SLAC Lab1 teststand; the module is connected to channel 4.
    Code Block
    [IPC_HOST] calibclient -p rcetest -c 4 -m /reg/g/atlas/rcecalib/moduleconfigs/M511958/configs/CosTel.cfg
    

...

Running STcontrol

...

  • To start STcontrol
    Code Block
    
    [IPC_HOST] STcontrol