SciSDK Library
SDK for SciCompiler projects
SCISDK_OSCILLOSCOPE_DUAL_DECODED_BUFFER Struct Reference

Oscilloscope decoded data type. More...

#include <scisdk_defines.h>

Public Attributes

uint32_t magic
 
int32_t * analog
 
uint8_t * digital
 
uint32_t trigger_position
 
uint64_t timecode
 
struct {
   uint32_t   samples_analog
 
   uint32_t   samples_digital
 
   uint32_t   tracks_analog_per_channel
 
   uint32_t   tracks_digital_per_channel
 
   uint32_t   channels
 
info
 

Detailed Description

Oscilloscope decoded data type.

This type is used to store decoded data from oscilloscope. The data in this structure is already decoded. The first sample in the analog/digital buffer rappresent the first sample of the channel 1

Example with 3 channels, 1024 samples per channel, pretrigger T Samples between 0 and T-1 are pre-trigger samples Samples between T and 1023 are post-trigger samples

Channel 1 Channel 2 Channel 3
0 ... T ............... 1024 0 ... T ............... 1024 0 ... T ............... 1024

Member Data Documentation

◆ analog

int32_t* SCISDK_OSCILLOSCOPE_DUAL_DECODED_BUFFER::analog

Pointer to analog data allocated by the AllocateBuffer function

◆ channels

uint32_t SCISDK_OSCILLOSCOPE_DUAL_DECODED_BUFFER::channels

Number of channels

◆ digital

uint8_t* SCISDK_OSCILLOSCOPE_DUAL_DECODED_BUFFER::digital

Pointer to digital data allocated by the AllocateBuffer function

◆ 

struct { ... } SCISDK_OSCILLOSCOPE_DUAL_DECODED_BUFFER::info

◆ magic

uint32_t SCISDK_OSCILLOSCOPE_DUAL_DECODED_BUFFER::magic

Magic number to identify the data type

◆ samples_analog

uint32_t SCISDK_OSCILLOSCOPE_DUAL_DECODED_BUFFER::samples_analog

Number of samples in analog buffer

◆ samples_digital

uint32_t SCISDK_OSCILLOSCOPE_DUAL_DECODED_BUFFER::samples_digital

Number of samples in digital buffer

◆ timecode

uint64_t SCISDK_OSCILLOSCOPE_DUAL_DECODED_BUFFER::timecode

Timecode of the first sample. Taken by timecome input in SciCompiler firmware

◆ tracks_analog_per_channel

uint32_t SCISDK_OSCILLOSCOPE_DUAL_DECODED_BUFFER::tracks_analog_per_channel

Number of analog tracks per channel

◆ tracks_digital_per_channel

uint32_t SCISDK_OSCILLOSCOPE_DUAL_DECODED_BUFFER::tracks_digital_per_channel

Number of digital tracks per channel

◆ trigger_position

uint32_t SCISDK_OSCILLOSCOPE_DUAL_DECODED_BUFFER::trigger_position

Trigger position in samples


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