spec

Software for Diffraction

lc2301

LeCroy 2301 CAMAC MCA Module

DESCRIPTION

The LeCroy 2031 MCA is selected in the config file as

CA_2301 = slot_number

When running edconf (or the config macro), use the CAMAC screen to select this MCA module.

FUNCTIONS

The mca_par() function controls the MCA module's behavior as follows:

mca_par("clear")
clears the MCA. spec inserts a 1.5 second delay to give the device time to clear.
mca_par("run")
start the MCA.
mca_par("halt")
stops the MCA.
mca_par("first_ch")
returns the first channel to be read out.
mca_par("first_ch", value)
sets the first channel to be read out to value.
mca_par("npts")
returns the number of channels to be read out.
mca_par("npts", value)
sets the number of channels to be read out to value. The maximum number of channels is 1,024.
mca_par("delay")
returns the delay time in seconds that spec sleeps after the MCA is cleared.
mca_par("delay", value)
sets the time for spec to delay after sending the clear command. The hardware does require some delay. Some users have reported 1.5 seconds are needed, others report 0.1 seconds is adequate. The default value is 0.1 seconds.