man8/actSRtask
Table of Contents
actSRtask - ACT status read module I/O service
actSRtask <argument
list>
Status read I/O service for ACT modules.
This program supports
all digital input ACT modules.
Base modules consist of 16 channels. Expansion
(or mezzanine) modules contain 8 channels and can be installed only on
digital base modules (input or output).
An input is considered on when a
voltage between 3 and 30VDC or up to 30VAC peak-to-peak is applied.
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".
The DBMAN_HOST environment variable is used if present.
- --dbman_name <rn>
Sets the name the program will use to register with dbman.
- --dev <path>
The device path to open.
If this argument is not supplied the default is
"/dev/kbuss".
- --drv <drv>
The driver key to use.
If this argument is not specified the default is
"KBUSS_1".
- --cmin <C>
The minimum crate number.
If this argument is not supplied the default
is "0".
- --cmax <C>
The maximum crate number.
If this argument is not supplied the default
is "15".
- --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.
- ACTsrV
- required
Status Reads. This record must be present in the database for the module
to be serviced by the program.
DTkey should always be set to U.
Crate defines
the module’s address.
Slot defines the channel count.
0 = 8 Channels
1 = 16 Channels
2 = 24 Channels
ChanNo should always be set to 0.
Each bit is mapped the
the corresponding channel offset on a given module.
Polling
is normally performed at 1Hz.
Fast polling at 10Hz is supported.
#
# this example limits service to address 0 thru 3
# dbman is running on the same host
#
actSRtask --cmin 0 --cmax 3
$Id: actSRtask.8,v 1.0 2009/10/08
20:21:05 stodola Exp $
Table of Contents