Table of Contents

Name

MFCmngr - multifaraday cup position manager

Synopsis

MFCmngr <argument list>

Description

This program manages the position of the cups in a multicup faraday cup assembly. It is supposed to prevent cup2 and cup3 from running into each other.

Arguments

Arguments are processed using Unix long argument syntax.
--mngr <fn>

The CONFLIST file from which to obtain the configuration information.

If this is not specified it defaults to "MNGRconf" in the current working directory (i.e. the directory where the program was started).

--mngr_pn <fn>

The program name to use when parsing the CONFLIST file.

If this argument is not specified it generally defaults to the program name.

--show_tbl

If this argument is present the contents of the CONFLIST table is printed to stderr
--diag

If this argument is present stdout and stdin are left open and the program may be killed by SIGINT.

This argument is useful when setting up the parameters for the PID loop(s) because it makes it very easy to kill and restart the program after changing the config file.

--verbose=<n>

Normally the program does it’s work silently. This sets the level of logging information. The number is optional but if provided it must include the "=". If no argument is provided the default level is 1.
0 - work silently
1 - print signon msg, option settings

Configuration name usage

The configuration file uses the libmngr(3mngr) facility to connect internal parameters to the AccelNET database. The mappings for this program are given below.

Parameters needed by this program can be combined with parameters belonging to other programs. The "program name" field in the configuration file differentiates the entries.

MFCmngr uses "MFCmngr" as the program name when searching the file.

Two groups are supported.

comm1 - required (if axis will be used)

Cup1 DC
comm2 - required (if axis will be used)

Cup2 DC
comm3 - required (if axis will be used)

Cup3 DC
read1 - required (if axis will be used)

Cup1 DR
read2 - required (if axis will be used)

Cup2 DR
read3 - required (if axis will be used)

Cup3 DR
ctl1 - optional

Cup1 EnableSC

This is marked optional but the program will complain in the log file if it is missing. The program will still do the interference checks properly.

ctl2 - optional

Cup2 EnableSC

This is marked optional but the program will complain in the log file if it is missing. The program will still do the interference checks properly.

ctl3 - optional

Cup3 EnableSC

This is marked optional but the program will complain in the log file if it is missing. The program will still do the interference checks properly.

ctl5 - required

Cup PwrSC
const0 window size - optional

If not present the value of WINSIZE (a constant in the program) is used.
const1 - optional

Reverses sense of comm2,comm3 window calculations.

if not present comparison assumes comm2 is in +X or +Y axis.

if present and the value is 0.0 then comm2 is considered to be in the +X or +Y axis, and comm3 in -X or -Y axis,

if present and the value is 1.0 then comm2 is considered to be in the -X or -Y axis, and comm3 in +X or +Y axis,

Notes

The present value of WINSIZE is 50.0.

See Also

libmngr(3mngr)

Manual page revision

$Id: MFCmngr.8,v 1.8 2008/03/05 20:50:41 kitchen Exp $


Table of Contents