man8/listpSIM_v2

Table of Contents

Name

listpSIM_v2 - HIST system file playback

Synopsis

listpSIM_v2 <argument list>

Description

listpSIM_v2(8) plays back AMS data files.

Instead of creating files and writing data into them as it is gathered by the rare isotope data collection system this program reads previously created data files and processes them as though they were data being collected by the rare isotope data collection system.

It uses a shared memory partition which is loaded with the configuration data needed to process the data read from the files.

The original use of this program was to allow software development of the HIST system in an environment without the hardware. It has grown to be a fairly extensive AMS file playback system.

This program runs as a daemon unless overridden with the --no_daemon argument. Usually it should not be started in the background.

If there is a TCL script associated with the shared memory setup LISTPsetup_v2(8) must be used to load the TCL script into listpSIM_v2.

This program is part of the NEC AMS system.

Arguments

Argument processing is done using Unix long argument syntax.

The values of all of 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".

--dose_host <hn>

The host where DOSEserv is running.

If this argument is not supplied the default is "localhost".

--mbs_host <hn>

The host where MBSseqTask is running.

If this argument is not supplied the default is "localhost".

--drv <drv>

The Driver key.

If this argument is not supplied the default is "CAMAC".

--crate <C>

The crate number.

Note that since no CAMAC I/O is actually performed this number is only used to parse the DATA table.

If this is not supplied it defaults to 1.

--no_daemon

If this argument is supplied the program starts in the foreground without the usual startup characteristics of a Linux daemon. stdin and stdout are left open and SIGINT and so forth are allowed to kill the program. This can be especially useful when debugging hist_engine TCL scripts.
--help

Print listpSIM_v2’s internal help to stderr.

Device Types used by this program

This program uses the same device types as listp_v2(8) .

See the listp_v2(8) manual page for this information.

Examples

#
# start the listpSIM program in the foreground
#
# dbman, MBSseqTask, and DOSEserv are all
# running on the same host as listpSIM
# so the command line arguments are unnecessary
# since the values are mostly the same as the defaults
# but are shown for illustration purposes.
#
listpSIM_v2 --dbman_host localhost \
--dose_host localhost \

--mbs_host localhost \

--drv CAMAC --crate 1 --nodaemon

See Also

load_lp_configuration_v2(8) ,
read_lp_configuration_v2(8) ,
read_lp_data_v2(8) ,
pconv_v2(5) ,

Manual Page Revision

$Id: listpSIM_v2.8,v 2.3 2007/10/01 14:05:46 kitchen Exp $


Table of Contents