SciSDK Library
SDK for SciCompiler projects
|
Digitizer decoded data type. More...
#include <scisdk_defines.h>
Public Attributes | ||
uint32_t | magic | |
int32_t * | analog | |
uint64_t | hits | |
uint64_t | timecode | |
uint32_t | counter | |
uint32_t | user | |
struct { | ||
uint32_t samples | ||
uint32_t valid_samples | ||
uint32_t channels | ||
uint32_t enabled_channels | ||
} | info | |
Digitizer decoded data type.
This type is used to store decoded waveform from the digitizer component. The reference document for the raw data format is the Digitizer driver
int32_t* SCISDK_DIGITIZER_DECODED_BUFFER::analog |
Pointer to analog data allocated by the AllocateBuffer function
uint32_t SCISDK_DIGITIZER_DECODED_BUFFER::channels |
Number of channels of the digitizer
uint32_t SCISDK_DIGITIZER_DECODED_BUFFER::counter |
Counter progressive value
uint32_t SCISDK_DIGITIZER_DECODED_BUFFER::enabled_channels |
Number of enabled channels
uint64_t SCISDK_DIGITIZER_DECODED_BUFFER::hits |
Channel that generate a trigger (hits)
struct { ... } SCISDK_DIGITIZER_DECODED_BUFFER::info |
uint32_t SCISDK_DIGITIZER_DECODED_BUFFER::magic |
Magic number to identify the data type
uint32_t SCISDK_DIGITIZER_DECODED_BUFFER::samples |
Number of samples allocated in analog buffer
uint64_t SCISDK_DIGITIZER_DECODED_BUFFER::timecode |
Timecode of the first sample. Taken by timecome input in SciCompiler firmware
uint32_t SCISDK_DIGITIZER_DECODED_BUFFER::user |
User value field from SciCompiler IP block
uint32_t SCISDK_DIGITIZER_DECODED_BUFFER::valid_samples |
Number of valid samples in analog buffer