man8/SRtask_v2

Table of Contents

Name

SRtask_v2 - CAMAC status read I/O service

Synopsis

SRtask_v2 <argument list>

Description

Status read I/O service for CAMAC.

This program supports Kinetic Systems KSC3471 and KSC3472 CAMAC modules.

It also supports CAMAC modules from other manufacturers which use F0 and A0-A15 as CAMAC function codes and map the input bits directly into the CAMAC words.

Arguments

Argument processing is done using Unix long argument syntax.

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

--dbman_host <hn>

The host where dbman is running. If this argument is not supplied the default is "localhost".
--dbman_name <rn>

Sets the name the program will use to register with dbman as.
--dev <path>

The device path to open. If this argument is not supplied the default is "/dev/camac".
--drv <drv>

The driver key to use. If this argument is not specified the default is "CAMAC".
--cmin <C>

The minimum crate number. If this argument is not supplied the default is "1".
--cmax <C>

The maximum crate number. If this argument is not supplied the default is "99".
--log_flag <logging>

If this argument has the value "bad" I/O trasactions with bad status will be logged each time the status changes.
If this argument has the value "all" I/O trasactions will be logged whenever the binary data value changes.
--diag

Don’t close stdin and stdout and allow SIGINT to kill the program.
--show_tbl

Print the contents of various tables to stderr.
--verbose=<level>

Print more information. If <level> is missing it defaults to 1.

--persist

Run the program in persist mode.

--tagname_ctl

parameter name to use for task control.

--tagname_status

parameter name to use for reporting task status.

--help

Print the help information to stderr.

Device Types used by this program

Dev3471
Dev3472

I/O polling rates

Polling is normally performed at 1Hz. Fast polling at 10Hz is supported.

Examples

#
# this example services crates 1 thru 4
# dbman is running on the same host
#
SRtask_v2 --cmax 4

Manual page revision

$Id: SRtask_v2.8,v 1.1 2009/03/26 16:29:25 mcnamer Exp $


Table of Contents