MCA-3K Data Server Reference

eMorpho

Introduction

USB driver

bpi_device

Data structures

Overview

Module Constants

FPGA Data structures

Controls

Statistics

Results

Histogram

List Mode

Oscilloscope Trace

Summation Weights

Time Slices

Two-bank List Mode

ARM Data structures

Version

Status

Controls

Calibration

API

Overview

MCA-3K Data Structure: fpga_trace

Summary

The fpga_trace data structure contains a list of consecutive ADC samples.

Data structure

The fpga_trace structure simply contains an array of 1024 16-bit signed int16 (int16_t), which comprise the oscilloscope trace.

fpga_trace data
Sub directoryDescription
registers1024 ADC samples of unsigned int16 in 16-bit 2's complement.
fields1024 ADC samples as signed floats, where 1024.0 represents full scale, typically 1.0V.
The fpga_trace registers and the 'fields' dictionary.