Forums › BB Series Discussions › Simple API question › Reply To: Simple API question
Andrew
Hi Joe,
Did you get download the latest API files from the link I posted above? The bbFetchRaw function is deprecated and is not used in any of the examples I provide. The function that replaces it is the bbGetIQ function and has more flexibility.
That said, decimation is the only way to control the sample rate of the device. bbFetchRaw will always return the same amount of data per call. You do not need to call bbQueryStreamInfo more than once. bbGetIQ allows you to retrieve an arbitrary amount of samples per function call. bbFetchRaw guarantees no loss of samples assuming data retrieval keeps up with the sample rate of the device. The API will store about 3/4 of a second worth of data before data loss occurs.
This information and more can be found in the API manual at
https://productbundlesdemo.kinsta.cloud/sigdownloads/BB60C/BB60-API-Manual.pdf
Regards,
A.J.
