SciSDK Library
SDK for SciCompiler projects
SCISDK_FE_SCOPE_EVENT Struct Reference

OpenScope structure. More...

#include <scisdk_defines.h>

Public Attributes

uint64_t timestamp
 
uint32_t trigger_id
 
size_t event_size
 
uint16_t ** waveform
 
size_t * n_samples
 
size_t * n_allocated_samples
 
unsigned n_channels
 

Detailed Description

OpenScope structure.

This type is used to store scope (waveform) events from CAEN OpenScope result The reference document for the data format is the OpenScope

Member Data Documentation

◆ event_size

size_t SCISDK_FE_SCOPE_EVENT::event_size

Event size in bytes

◆ n_allocated_samples

size_t* SCISDK_FE_SCOPE_EVENT::n_allocated_samples

the number of samples that have been allocated for each channel of the oscilloscope.

◆ n_channels

unsigned SCISDK_FE_SCOPE_EVENT::n_channels

the number of channels in the oscilloscope.

◆ n_samples

size_t* SCISDK_FE_SCOPE_EVENT::n_samples

the number of samples in each channel of the oscilloscope.

◆ timestamp

uint64_t SCISDK_FE_SCOPE_EVENT::timestamp

A 64-bit unsigned integer representing the timestamp of the event in nanoseconds.

◆ trigger_id

uint32_t SCISDK_FE_SCOPE_EVENT::trigger_id

Trigger ID (32 bits)

◆ waveform

uint16_t** SCISDK_FE_SCOPE_EVENT::waveform

A pointer to an array of pointers to 16-bit unsigned integers, where each element in the array represents a channel of the oscilloscope and each element in the array of pointers represents a sample in that channel.


The documentation for this struct was generated from the following file: