Table of Contents

Name

cntqry_v2 - list processor program counter query script

Description

cntqry_v2 is used by listp_v2(8) to query a CAMAC digital counter module.

One channel of this module is connected to the rare isotope data collection system to provide the total number of events during a single portion of the measurement period. The number of counts is obtained by this script and commands are written to the counter to reset it before the next block of measurements if performed.

The data collection system may contain a research pulsar or another type of pulse generator used to provide a "beacon" signal, i.e. a signal which is running all of the time and used for calibration or dead time correction.

Another channel of this module (or another module) may optionally be connected to the trigger output of the pulse generator to get a count of the number of events from the pulsar.

This script may contain a second camac instruction to read this counter channel.

This script is intended to only contain the two CAMAC operations needed to read the counter(s). The first camac operation in the script is always the hardware trigger count and the second optional entry is the beacon count.

Counter reset instructions should be placed in the psetup script. See psetup_v2(5) for more information.

The script uses the camac_script package. See camac_script_v2(5) for usage information.

Example cntqry script

#
# cntqry
#
# definitions

define crate 4 # crate number
define Ncntr 4 # counter slot number
#
# counter query
camac_nrm crate Ncntr 1 0 0    # ch 1 - CntTotH
camac_nrm crate Ncntr 2 0 0    # ch 2 - CntTotBH

See Also

listp_v2(8)

Manual page revision

$Id: cntqry_v2.5,v 2.0 2003/05/01 18:06:31 kitchen Exp $


Table of Contents