Signal Hound | API Functions
Description
This function is used in conjunction with bbSyncCPUtoGPS and a GPS device to retrieve an absolute time
for a data packet in raw pipe mode. This function returns an absolute time for the last packet retrieved
from bbFetchRaw. See the Appendix:Code Examples for information on how to setup and interpret the
time information.
Return Values
bbNoError Successful
bbNullPtrErr seconds or nanoseconds parameters are null.
bbDeviceNotOpenErr device is not a handle to an open device.
bbDeviceNotConfiguredErr The device is not configured and running in RAW_PIPE mode.
bbQueryStreamInfo
Retrieve values need to query and analyze an I/Q data stream
bbQueryStreamInfo(int device, int *return_len, double *bandwidth, int
*samples_per_sec);
Parameters
device Handle of the initialized device, which has been successfully initialized
with the BB_STREAMING flag.
return_len The number of I/Q samples pairs which will be returned by calling
bbFetchRaw().
bandwidth The bandpass filter bandwidth, width in Hz. Width is specified by the
3dB rolloff points.
samples_per_sec The number of I/Q pairs to expect per second.
Description
Use this function to characterize the I/Q data stream.
See Appendix: Code Examples: I/Q Streaming Example.
Return Values
bbNoError Function returned successfully.
bbDeviceNotOpenErr device is not a handle to an open device.
bbDeviceNotConfiguredErr The device specified is not currently streaming.
bbAbort
Stop the current mode of operation
bbStatus bbAbort(int device);
Parameters