MCA Data Server Reference

wxMCA Package

Introduction

Server interface

API layer

Driver layer

C-types to libusb0.1

Class constants

Supported Devices

Counter

MCA-1K

MCA-3K

eMorpho

Neutron-3K

mca3k_data.py Constants

Summary

There are a few module constants used to direct communication with the MCA

Module Constants

The constants specify the on-board hardware target (ARM or FPGA) and the address within the target.

Module communication constants
ConstantDescription
FPGA_WRITECommand type: Write to FPGA
FPGA_READCommand type: Read from FPGA
ARM_WRITECommand type: Write to ARM
ARM_READCommand type: Read from ARM
MA_CONTROLSCommand address: FPGA control registers
MA_STATISTICSCommand address: FPGA statistics registers (used for time and count rate measurement)
MA_RESULTSCommand address: FPGA results registers (version, telemetry)
MA_HISTOGRAMCommand address: FPGA histogram memory
MA_TRACECommand address: FPGA oscilloscope trace memory
MA_LISTMODECommand address: FPGA list mode memory
MA_WEIGHTSCommand address: FPGA summation weights
MA_ACTIONSCommand address: FPGA action registers, eg to start data acquisition or clear previous data.
Command type and command address module constants