BB API
|
#include <bb_api.h>
Data Fields | |
void * | iqData |
int | iqCount |
int * | triggers |
int | triggerCount |
int | purge |
int | dataRemaining |
int | sampleLoss |
int | sec |
int | nano |
Used to encapsulate I/Q data and metadata. See bbGetIQ.
void* iqData |
Pointer to an array of 32-bit complex floating-point values. Complex values are interleaved real-imaginary pairs. This must point to a contiguous block of iqCount complex pairs.
int iqCount |
Number of I/Q data pairs to return.
int* triggers |
pointer to an array of integers. If the external trigger input is active, and a trigger occurs during the acquisition time, triggers will be populated with values which are relative indices into the iqData array where external triggers occurred. Any unused trigger array values will be set to zero.
int triggerCount |
Size of the triggers array.
int purge |
int dataRemaining |
How many I/Q samples are still left buffered in the API. Set by API.
int sampleLoss |
Returns BB_TRUE or BB_FALSE. Will return BB_TRUE when the API is required to drop data due to internal buffers wrapping. This can be caused by I/Q samples not being polled fast enough, or in instances where the processing is not able to keep up (underpowered systems, or other programs utilizing the CPU) Will return BB_TRUE on the capture in which the sample break occurs. Does not indicate which sample the break occurs on. Will always return false if purge is true. Set by API.
int sec |
Seconds since epoch representing the timestamp of the first sample in the returned array. Set by API.
int nano |
Nanoseconds representing the timestamp of the first sample in the returned array. Set by API.