Remarks about *.conf files

SVR.DEVICE: "PCIX_DMA"
server:      "CALICE.ECAL/PCIX_DMA"
DEVICE:    "PCIX_DMA"
not important in the example_server.conf right now, important for the alarm server to initiate new location these lines are needed:
eq_fct_type:  10
{
NAME:   "ODR1"
}

Corresponding Relationships between xxx.conf and C++ source code, e.g. singenerator:

eq_conf:
.....
                         switch (i) {
eq_fct_type:  1          case 1:
{                            switch (fct_code) {
...........
}                            case Code_singenerator: // 100
eq_fct_type:  100                eqn =  new EqFct_singenerator ( 1 ); // 100
{                                break;
...........
}                            case Code_cosgenerator: // 101
eq_fct_type:  101                eqn =  new EqFct_singenerator ( 2 ); // 101
{                                break;
...........                  default: ....
}                            }
                          case 3:
                             .....
                             break;
                          }
The eq_fct_type number shoule be customized by a user/code-maker instead of randomly choosen integer numbers.
-- ValeriaBartsch Tao Wu - 22 Apr 2008
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatgz pcix_dma.tar.gz r1 manage 9.7 K 2008-04-16 - 18:16 ValeriaBartsch device server example package
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2008-04-23 - TaoWu
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CALICE All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback