![]() |
MCA-2K Data Server Reference |
||||||||||||||||||||
MCA-1KUSB driverData structuresARM Data structuresAPI |
MCA-2K Data Structure: arm_lm_2bSummaryThe MCA-2000 supports a 2-bank, lossless listmode operation. There are two memory banks, each capable of storing 511 events. A client can let the MCA-2000 acquire data in the active bank while reading data from the inactive bank. Switching between banks is instantaneous, and there is no loss of data due to host computer latencies. The listmode data include the event energy and the event arrival time. The arrival times are 20-bit values where the LSB can range from 1 to 32768 ADC sampling clock cycles; ie from 42ns to 1.4ms. Note: Sending "clear_listmode" in a command will only reset the event counter in LM0[0:8] to zero. The event data in LM1 to LM511 will not be overwritten, to avoid any dead time. Client code needs to always check the content of LM0[0:8] to learn how many valid new data are in a freshly read listmode buffer. Data structureFor arm_lm_2b there are 512 'register' and a number of 'fields' data in use. All register data are 32-bit unsigned int32 (uint32).
The list mode data buffer (LM) consists of a 32-bit header word (in LM0) followed by 511 32-bit records. An event is recorded as a 32-bit item, consisting of a 12-bit energy and a 20-bit time stamp.
|