<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://ift.wiki.uib.no/index.php?action=history&amp;feed=atom&amp;title=DCS_Tutorial</id>
	<title>DCS Tutorial - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://ift.wiki.uib.no/index.php?action=history&amp;feed=atom&amp;title=DCS_Tutorial"/>
	<link rel="alternate" type="text/html" href="http://ift.wiki.uib.no/index.php?title=DCS_Tutorial&amp;action=history"/>
	<updated>2026-05-01T17:30:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>http://ift.wiki.uib.no/index.php?title=DCS_Tutorial&amp;diff=132&amp;oldid=prev</id>
		<title>Dfe002: New page: Category:DCS back to: Detector Control System    This page explains the different components and tools which exist in...</title>
		<link rel="alternate" type="text/html" href="http://ift.wiki.uib.no/index.php?title=DCS_Tutorial&amp;diff=132&amp;oldid=prev"/>
		<updated>2009-02-20T10:42:02Z</updated>

		<summary type="html">&lt;p&gt;New page: &lt;a href=&quot;/index.php?title=Category:DCS&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:DCS (page does not exist)&quot;&gt;Category:DCS&lt;/a&gt; back to:&lt;a href=&quot;/Detector_Control_System_(DCS)_for_ALICE_Front-end_electronics&quot; title=&quot;Detector Control System (DCS) for ALICE Front-end electronics&quot;&gt; Detector Control System&lt;/a&gt;    This page explains the different components and tools which exist in...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:DCS]]&lt;br /&gt;
back to:[[Detector Control System (DCS) for ALICE Front-end electronics | Detector Control System]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This page explains the different components and tools which exist in the FeeCom chain and how to run them. Those are in particular:&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== DIM Name Server ==&lt;br /&gt;
&lt;br /&gt;
A dedicated DIM name-server takes control over all the running clients, servers and their services available in the system. Each server registers at startup all its services and command channels. For a client the location of a server is transparent.&lt;br /&gt;
&lt;br /&gt;
=== How to get the software ===&lt;br /&gt;
Take the latest package from [http://dim.web.cern.ch/dim the dim web page] and follow the instructions to build the package for your platform. If you are running Linux and have problems to compile the package, the following might help you.&lt;br /&gt;
&lt;br /&gt;
=== Compile the DIM package for Linux ===&lt;br /&gt;
Recently we encountered problems when compiling the DIM package. Although the environment variables had been set as proposed in the README*.txt, the setup script didn&amp;#039;t work. The following recipe is working on Scientific Linux CERN, but for sure it should be the same for other distributions.&lt;br /&gt;
&lt;br /&gt;
* go to the directory of the dim package:&lt;br /&gt;
  cd &amp;lt;path to dim package&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* set a couple of environment variables&lt;br /&gt;
  setenv DIMDIR `pwd`/linux&lt;br /&gt;
  setenv OS     Linux&lt;br /&gt;
  setenv ODIR   linux&lt;br /&gt;
&lt;br /&gt;
* compile the DIM library&lt;br /&gt;
  make -f makefile_dim&lt;br /&gt;
&lt;br /&gt;
=== Starting the Name server ===&lt;br /&gt;
You might need to set the &amp;#039;&amp;#039;&amp;#039;LD_LIBRARY_PATH&amp;#039;&amp;#039;&amp;#039; variable to allow the system to find the dim shared library.&lt;br /&gt;
&lt;br /&gt;
 cd &amp;lt;your path to the dim package&amp;gt;&lt;br /&gt;
 setenv LD_LIBRARY_PATH `pwd`/linux&lt;br /&gt;
 ./linux/dns&lt;br /&gt;
&lt;br /&gt;
You will get a message like&lt;br /&gt;
 PID 25703 - Wed Feb 15 13:51:15 2006 -  DNS (pid 25703) starting up on kjekspc3.ift.uib.no&lt;br /&gt;
&lt;br /&gt;
== DIM Information Display ==&lt;br /&gt;
The DIM Information Display is a tool available for Linux which allows to monitor a DIM system. It is contained in the package you downloaded from the dim web page.&lt;br /&gt;
&lt;br /&gt;
* if you want to compile DID follow the instructions in the previous section and do in addition&lt;br /&gt;
  make -f makefile_did&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NOTE:&amp;#039;&amp;#039;&amp;#039;The DID needs some libraries to link against which come usually with the X11 system, but on some distributions they are missing. Note that you can start the DID from another machine which might provide all the necessary libraries. Or think about a system update on your machine. Make sure that the Motif library is installed on your system.&lt;br /&gt;
&lt;br /&gt;
=== Running the DIM Information Display ===&lt;br /&gt;
Again, you might need to set the &amp;#039;&amp;#039;&amp;#039;LD_LIBRARY_PATH&amp;#039;&amp;#039;&amp;#039; variable to allow the system to find the dim shared library. In addition, the &amp;#039;&amp;#039;&amp;#039;DIM_DNS_NODE&amp;#039;&amp;#039;&amp;#039; variable has to be set. This variable specifies the location where the DIM framework will look for the DIM Name Server.&lt;br /&gt;
&lt;br /&gt;
 cd &amp;lt;your path to the dim package&amp;gt;&lt;br /&gt;
 setenv LD_LIBRARY_PATH `pwd`/linux&lt;br /&gt;
 setenv DIM_DNS_NODE &amp;lt;your dns host&amp;gt;&lt;br /&gt;
 ./linux/did&lt;br /&gt;
&lt;br /&gt;
Choose &amp;#039;&amp;#039;View -&amp;gt; All Servers&amp;#039;&amp;#039;, now you should at least see the Name Server and your DIM servers if there are any. The documentation is not very extended, but you can get at least a glimpse at the [http://dim.web.cern.ch/dim/dim_tools.html dim web page].&lt;br /&gt;
&lt;br /&gt;
== FeeServer ==&lt;br /&gt;
&lt;br /&gt;
=== Compilation ===&lt;br /&gt;
Download the latest version from then [[DCS Download | download page]]. The package relies on the usual Linux installation procedure &amp;#039;&amp;#039;configure&amp;#039;&amp;#039;, &amp;#039;&amp;#039;make&amp;#039;&amp;#039; and &amp;#039;&amp;#039;make install&amp;#039;&amp;#039;. Unpack the package and have a look into the &amp;#039;&amp;#039;&amp;#039;README&amp;#039;&amp;#039;&amp;#039; file. &amp;#039;&amp;#039;./configure --help&amp;#039;&amp;#039; and &amp;#039;&amp;#039;./configure --help=short&amp;#039;&amp;#039; provides information on the available options. Read more about the compilation process [[FeeServer#Compilation | here]].&lt;br /&gt;
&lt;br /&gt;
==== Compilation for the DCS board ====&lt;br /&gt;
You need a cross compiler and have to specify the following options to &amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--host=arm&amp;#039;&amp;#039;&amp;#039;(mandatory)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--prefix=&amp;lt;&amp;#039;&amp;#039;dir&amp;#039;&amp;#039;&amp;gt;&amp;#039;&amp;#039;&amp;#039;(optional)  specify the location where the executable will be copied with &amp;#039;&amp;#039;make install&amp;#039;&amp;#039;. &amp;lt;br&amp;gt; You should consider to make this directory available to the DCS board via NFS. The default &amp;#039;&amp;#039;prefix&amp;#039;&amp;#039; is set to &amp;#039;&amp;#039;&amp;#039;/nfs_export/dcscard/&amp;#039;&amp;#039;${USER}&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039; if this directory exists, otherwise to the current directory. Note that the files will be &amp;quot;installed&amp;quot; in &amp;#039;&amp;#039;&amp;#039;&amp;lt;&amp;#039;&amp;#039;prefix&amp;#039;&amp;#039;&amp;gt;/bin&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;&amp;lt;&amp;#039;&amp;#039;prefix&amp;#039;&amp;#039;&amp;gt;/bin&amp;#039;&amp;#039;&amp;#039; respectively.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--enable-&amp;lt;&amp;#039;&amp;#039;detector&amp;#039;&amp;#039;&amp;gt;&amp;#039;&amp;#039;&amp;#039; for detector specific implementations&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compilation for normal PC Linux ====&lt;br /&gt;
&amp;#039;&amp;#039;configure&amp;#039;&amp;#039; - options&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--enable-rcudummy&amp;#039;&amp;#039;&amp;#039;(optional) this switches off all hardware access which might make life easier since you will not be bothered with bunches of error messages. A correct state handling will be implemented soon.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--enable-&amp;lt;&amp;#039;&amp;#039;detector&amp;#039;&amp;#039;&amp;gt;&amp;#039;&amp;#039;&amp;#039; for detector specific implementations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--prefix=&amp;lt;&amp;#039;&amp;#039;dir&amp;#039;&amp;#039;&amp;gt;&amp;#039;&amp;#039;&amp;#039;(optional)  specify the location where the executable will be copied with &amp;#039;&amp;#039;make install&amp;#039;&amp;#039;. &amp;lt;br&amp;gt; The default &amp;#039;&amp;#039;prefix&amp;#039;&amp;#039; is set to the current directory. Note that the files will be &amp;quot;installed&amp;quot; in &amp;#039;&amp;#039;&amp;#039;&amp;lt;&amp;#039;&amp;#039;prefix&amp;#039;&amp;#039;&amp;gt;/bin&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;&amp;lt;&amp;#039;&amp;#039;prefix&amp;#039;&amp;#039;&amp;gt;/bin&amp;#039;&amp;#039;&amp;#039; respectively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== InterComLayer ==&lt;br /&gt;
&lt;br /&gt;
== PVSS ==&lt;br /&gt;
&lt;br /&gt;
== U2F Library/API ==&lt;br /&gt;
&lt;br /&gt;
=== U2F API specification ===&lt;br /&gt;
&lt;br /&gt;
=== feeserver-ctrl command line tool ===&lt;br /&gt;
&lt;br /&gt;
== RCU GUI ==&lt;/div&gt;</summary>
		<author><name>Dfe002</name></author>
	</entry>
</feed>