Frontend Application: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==== Links ====
{{Pagelinks}}
== Links ==
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
* [[Frontend Operation#Frontend|Frontend Operation]]
* [[Frontend Operation#Frontend|Frontend Operation]]
Line 15: Line 16:


== Arguments ==
== Arguments ==
The system framework code (mfe.c) has the following arguments:
The system framework code (mfe.cxx) has the following arguments:


   [-h hostname ] : host name (see [[Common Parameters to MIDAS Utilities]])
   [-h hostname ] : host name (see [[Common Parameters to MIDAS Utilities]])
Line 22: Line 23:
   [-O ] : Become a Daemon but keep stdout  
   [-O ] : Become a Daemon but keep stdout  
   [-d ] : Used for debugging the frontend
   [-d ] : Used for debugging the frontend
   [-i index] : Set frontend index (used with [[Mevb]] . This argument has been introduced to
  [-v [level]] : Set verbosity level (as an integer). A bare '-v' implies '-v 1'
            : facilitate the [[Event Builder#Principle of the Event Builder and related frontend fragment|multiple frontend]] configuration operation required for the [[Event Builder]]
   [-i index] : Set frontend index so you can have [[Equipment_List_Parameters#Equipment_Name|multiple instances of the same executable running with different names]] (can be used with [[Mevb]] / [[Event Builder#Principle of the Event Builder and related frontend fragment|event builder]] or standalone).
 


== Usage ==
== Usage ==

Latest revision as of 09:26, 5 January 2024


Links


Frontend Task

The purpose of a frontend task is to collect data from the hardware and transmit this information to a central place where data logging and analysis can be performed.

A frontend task is built by the user (see Frontend Operation ) and consists of as "user part" and a "system framework"

Arguments

The system framework code (mfe.cxx) has the following arguments:

 [-h hostname ] : host name (see Common Parameters to MIDAS Utilities)
 [-e exptname ] : experiment name (see Common Parameters to MIDAS Utilities)
 [-D ] : Become a Daemon.
 [-O ] : Become a Daemon but keep stdout 
 [-d ] : Used for debugging the frontend
 [-v [level]] : Set verbosity level (as an integer). A bare '-v' implies '-v 1'
 [-i index] : Set frontend index so you can have multiple instances of the same executable running with different names (can be used with Mevb / event builder or standalone).

Usage

Start the application as a daemon, using the default host, experiment and port :

e.g. fevme -D

Start the application superceding the default host, experiment and port:

e.g. fegpib -e exp218 -h isdaq10 -p 7077 -D