Forums › BB Series Discussions › IQ realtime streaming
- This topic has 3 replies, 2 voices, and was last updated 10 years, 8 months ago by
Anonymous.
- AuthorPosts
- January 11, 2016 at 12:34 am #77224
Anonymous
InactiveHello.
Thanks for bandwidth lower limit explanation.I create my own audio player, based on function FetchRaw with pulling interval 30ms. When I start everything is fine.But after a certain time (10-20 minutes) I have an exception in FetchRaw.
I initialize stream with samplerate 625kHz and bandwidth 300kHz
Regards,
A.A.January 11, 2016 at 3:31 am #77246Anonymous
InactiveIf I isolate FetchRaw inside another function this problem disappears.
This looks like stack overloadJanuary 11, 2016 at 10:35 am #77298
AndrewModeratorHi Andrew,
Thank you for the heads up. I will try to look into this. If you find a simple way to reproduce the issue, or a snippet of code that easily reproduces the crash, this would be very helpful to us. It sounds like you managed to work around your issue though. Let us know if you find out anything further.
Regards,
A.J.- This reply was modified 10 years, 8 months ago by
Andrew.
January 12, 2016 at 2:44 am #77419Anonymous
InactiveI use 32bit spike API in Windwos 7.
Next bring the thread function code
After each call bbFetchRaw stack pointer decreases on 12 bytewhile(!Active)
{
if(reconfigure)
{
bbAbort(DeviceID);
bbConfigureCenterSpan(DeviceID, Freq, Bandwidth);
bbConfigureIQ(DeviceID,64,Bandwidth)
bbInitiate(DeviceID, BB_STREAMING, BB_STREAM_IQ);
reconfigure = false;
}
bbFetchRaw(handle, &data[0], 0);
PostMessage();
} - This reply was modified 10 years, 8 months ago by
- AuthorPosts
- You must be logged in to reply to this topic.