man5/psetup_v2
Table of Contents
psetup_v2 - list processor program setup script
psetup_v2
is used by
listp_v2(8)
to initialize CAMAC modules before beginning a measurement
block. Typically counters are cleared and possible data pending in the peak
holding ADC is cleared before enabling the list processor.
The script uses
the camac_script package. See camac_script_v2(5)
for usage information.
This script is for use with a KSC3610 counter module
and a Phillips 7164 peak hold ADC.
#
#
#
# definitions
define crate 4
#
define Ncntr 4
# counter slot number
define Nadc 5
# adc slot number
# adc setup
camac_nrm crate Nadc 0 9 0
# reset it
camac_nrm crate Nadc 0 26 0
# enable lams
# counter setup
camac_nrm crate Ncntr 0 24 0
# clr lam enable
camac_scan crate Ncntr 0 2 9 6
# clear counter registers
listp_v2(8)
,
lprg_v2(5)
$Id: psetup_v2.5,v 2.0 2003/05/01 18:06:31
kitchen Exp $
Table of Contents