|
SciSDK Library
SDK for Sci-Compiler projects
|
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 | |
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 driver
| uint32_t SCISDK_OSCILLOSCOPE_RAW_BUFFER::buffer_size |
Size of the buffer in samples
| uint32_t SCISDK_OSCILLOSCOPE_RAW_BUFFER::channels |
Number of channels
| uint32_t* SCISDK_OSCILLOSCOPE_RAW_BUFFER::data |
Pointer to data allocated by the AllocateBuffer function
| struct { ... } SCISDK_OSCILLOSCOPE_RAW_BUFFER::info |
| uint32_t SCISDK_OSCILLOSCOPE_RAW_BUFFER::magic |
Magic number to identify the data type
| uint32_t SCISDK_OSCILLOSCOPE_RAW_BUFFER::samples_analog |
Number of analog samples per channel in the buffer
| uint32_t SCISDK_OSCILLOSCOPE_RAW_BUFFER::samples_digital |
Number of digital samples (4 bit per sample) per channel in the buffer
| uint64_t SCISDK_OSCILLOSCOPE_RAW_BUFFER::timecode |
Timecode of the first sample. Taken by timecome input in Sci-Compiler firmware
| uint32_t SCISDK_OSCILLOSCOPE_RAW_BUFFER::tracks_analog_per_channel |
Number of analog tracks per channel
| uint32_t SCISDK_OSCILLOSCOPE_RAW_BUFFER::tracks_digital_per_channel |
Number of digital tracks per channel
| uint32_t SCISDK_OSCILLOSCOPE_RAW_BUFFER::trigger_position |
Trigger position in samples. It's set equal to the pretrigger
| uint32_t SCISDK_OSCILLOSCOPE_RAW_BUFFER::zero_position |
Position of the first sample in the buffer (the sample on which the oscilloscope triggered)