SciSDK Library
SDK for SciCompiler projects
SCISDK_OSCILLOSCOPE_DUAL_RAW_BUFFER Struct Reference

Oscilloscope raw data type. More...

#include <scisdk_defines.h>

Public Attributes

uint32_t magic
 
uint32_t * data
 
uint32_t zero_position
 
uint32_t trigger_position
 
uint64_t timecode
 
struct {
   uint32_t   buffer_size
 
   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 raw data type.

This type is used to store raw data from oscilloscope. The reference document for the raw data format is the Oscilloscope Dual driver

Member Data Documentation

◆ buffer_size

uint32_t SCISDK_OSCILLOSCOPE_DUAL_RAW_BUFFER::buffer_size

Size of the buffer in samples

◆ channels

uint32_t SCISDK_OSCILLOSCOPE_DUAL_RAW_BUFFER::channels

Number of channels

◆ data

uint32_t* SCISDK_OSCILLOSCOPE_DUAL_RAW_BUFFER::data

Pointer to data allocated by the AllocateBuffer function

◆ 

struct { ... } SCISDK_OSCILLOSCOPE_DUAL_RAW_BUFFER::info

◆ magic

uint32_t SCISDK_OSCILLOSCOPE_DUAL_RAW_BUFFER::magic

Magic number to identify the data type

◆ samples_analog

uint32_t SCISDK_OSCILLOSCOPE_DUAL_RAW_BUFFER::samples_analog

Number of analog samples per channel in the buffer

◆ samples_digital

uint32_t SCISDK_OSCILLOSCOPE_DUAL_RAW_BUFFER::samples_digital

Number of digital samples (4 bit per sample) per channel in the buffer

◆ timecode

uint64_t SCISDK_OSCILLOSCOPE_DUAL_RAW_BUFFER::timecode

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

◆ tracks_analog_per_channel

uint32_t SCISDK_OSCILLOSCOPE_DUAL_RAW_BUFFER::tracks_analog_per_channel

Number of analog tracks per channel

◆ tracks_digital_per_channel

uint32_t SCISDK_OSCILLOSCOPE_DUAL_RAW_BUFFER::tracks_digital_per_channel

Number of digital tracks per channel

◆ trigger_position

uint32_t SCISDK_OSCILLOSCOPE_DUAL_RAW_BUFFER::trigger_position

Trigger position in samples. It's set equal to the pretrigger

◆ zero_position

uint32_t SCISDK_OSCILLOSCOPE_DUAL_RAW_BUFFER::zero_position

Position of the first sample in the buffer (the sample on which the oscilloscope triggered)


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