MCA

The functions in this section define the general MCA interface.

clear_mca( device_id, bank_no)
Clears the MCA bank.

read_mca( device_id, bank_no, scan_name [, nchan])
Reads the VME MCA board.

start_mca( device_id, bank_no)
stop_mca( device_id, bank_no)
Starts/stops an MCA.

bank_no selects the memory bank. It can be 0 or 1.
nchan the default value is 8192.

Functions that end with “_add” update an existing SCAN instead of replacing it.

e.g.:
* = clear_mca( mca, 0)
* = start_mca( mca, 0)
sawft(t1) = sample_time
* = stop_mca( mca, 0)
* = read_mca( mca, 0, mca_data, 2048)

See section 14.10 for a description of the MCA menu and section [*] for a description of the interface to the SDD7 detector.