man8/TRtaskPAR

Table of Contents

Name

TRtaskPAR - transient recorder simulation by using parameters

Synopsis

TRtaskPAR <argument list>

Description

This program simulates what TRtask(8) does by subscribing to parameters in the AccelNET database.

This program is part of the NEC AMS dosimetry system.

Arguments

Argument processing is done using Unix long argument syntax.

The values of all the parameters listed here are printed on stderr when the program starts, whether or not they were supplied on the command line.

\-\-dbman_host <hn>

The host where dbman is running. If this argument is not supplied the defalut is "localhost" or the DBMAN_HOST environment variable.
\-\-mbs_host <hn>

The host where MBSseqTask is running. If this argument is not supplied the default is "localhost" or the MBS_HOST environment variable.
\-\-dose_host <hn>

The host where DOSEserv is running. If this argument is not supplied the default is "localhost" or the DOSE_HOST environment variable.
\-\-mngr <fn>

pathname of CONFLIST file containing information needed by this program. If this argument is not supplied the default is "MNGRconf".
\-\-mngr_pn <pn>

The program name to use when parsing a MNGRconf. If this argument is not supplied the default is the current program name, in this case "TRtaskLOG"
\-\-show_tbl

Enables printing of internal tables when set.
\-\-help

Prints a help message.

CONFLIST usage

One group is used for each cup. Groups 1 through 6 are the low energy cups. Groups 7 through 12 are the high energy cups.

read1 - required


VR - the voltage read input
Parameter ownership and permissions do not matter.

ctl1 - required


CR - the current read output

The parameter should be owned whatever task TRtaskPAR registers as and the permissions should be set for direct update for the owner.

ctl2 - required


CRavg - the average current read output

The parameter should be owned whatever task TRtaskPAR registers as and the permissions should be set for direct update for the owner.

CONFLIST (MNGRconf) example

#
#    TRtaskPAR config file
#
#    this is a somewhat fictitous example since
#    there probably never will be 6 low energy cups
#    and 6 high energy cups in a machine
#
#
# LE cups 1-6
#
TRtaskPAR|g1|read1 |0|MFC 02-1|VR |
TRtaskPAR|g1|ctl1 |0|MFC 02-1|CR |
TRtaskPAR|g1|ctl2 |0|MFC 02-1|CRavg |
#
TRtaskPAR|g2|read1 |0|MFC 02-2|VR |
TRtaskPAR|g2|ctl1 |0|MFC 02-2|CR |
TRtaskPAR|g2|ctl2 |0|MFC 02-2|CRavg |
#
TRtaskPAR|g3|read1 |0|MFC 02-3|VR |
TRtaskPAR|g3|ctl1 |0|MFC 02-3|CR |
TRtaskPAR|g3|ctl2 |0|MFC 02-3|CRavg |
#
TRtaskPAR|g4|read1 |0|MFC 02-4|VR |
TRtaskPAR|g4|ctl1 |0|MFC 02-4|CR |
TRtaskPAR|g4|ctl2 |0|MFC 02-4|CRavg |
#
TRtaskPAR|g5|read1 |0|MFC 02-5|VR |
TRtaskPAR|g5|ctl1 |0|MFC 02-5|CR |
TRtaskPAR|g5|ctl2 |0|MFC 02-5|CRavg |
#
TRtaskPAR|g6|read1 |0|MFC 02-6|VR |
TRtaskPAR|g6|ctl1 |0|MFC 02-6|CR |
TRtaskPAR|g6|ctl2 |0|MFC 02-6|CRavg |
#
#
# HE cups 1-6
#
TRtaskPAR|g7|read1 |0|MFC 04-1|VR |
TRtaskPAR|g7|ctl1 |0|MFC 04-1|CR |
TRtaskPAR|g7|ctl2 |0|MFC 04-1|CRavg |
#
TRtaskPAR|g8|read1 |0|MFC 04-2|VR |
TRtaskPAR|g8|ctl1 |0|MFC 04-2|CR |
TRtaskPAR|g8|ctl2 |0|MFC 04-2|CRavg |
#
TRtaskPAR|g9|read1 |0|MFC 04-3|VR |
TRtaskPAR|g9|ctl1 |0|MFC 04-3|CR |
TRtaskPAR|g9|ctl2 |0|MFC 04-3|CRavg |
#
TRtaskPAR|g10|read1 |0|MFC 04-4|VR |
TRtaskPAR|g10|ctl1 |0|MFC 04-4|CR |
TRtaskPAR|g10|ctl2 |0|MFC 04-4|CRavg |
#
TRtaskPAR|g11|read1 |0|MFC 04-5|VR |
TRtaskPAR|g11|ctl1 |0|MFC 04-5|CR |
TRtaskPAR|g11|ctl2 |0|MFC 04-5|CRavg |
#
TRtaskPAR|g12|read1 |0|MFC 04-6|VR |
TRtaskPAR|g12|ctl1 |0|MFC 04-6|CR |
TRtaskPAR|g12|ctl2 |0|MFC 04-6|CRavg |

Program startup example

#
# dbman is running on the same host
# MBSseqTask is running on the same host
# DOSEserv is running on the same host
#
TRtaskPAR --mngr MNGRconf

Misc

This program responds to diagnostic logging using diag3.

Manual page revision

$Id: TRtaskPAR.8,v 1.2 2007/07/18 14:56:19 mcnamer Exp $


Table of Contents