Forums › BB Series Discussions › ADCOverflow Return Value
- This topic has 1 reply, 2 voices, and was last updated 6 years, 4 months ago by
Andrew.
- AuthorPosts
AnonymousInactiveHello
GetIQ incorrectly return clipping of the input
signal.Sample:
A signal is set on the generator which surely gives an overflow of the bb60C.
In custom software(not Spike) I periodically call GetIQ and got ADCOverflow return value.Then I turn off signal from generator and again call GetIQ.First call GetIQ always return ADCOverflow value even without signal and only next call returned correct value.
I set purge = BB_TRUE but it did not help.
Why it occurs? How get then correct clipping state of signal in every GetIQ call?Thank you
AndrewModeratorHello Andrew,
You are correct in noting that the ADC overflow is not tied to the IQ samples. We would need to do a bit of work to make that happen.
Right now, the ADC overflow flag is a boolean that is cleared once per call to GetIQ. Setting purge to true will not clear it right now.
Until we change the behavior of the API, it might be appropriate to ignore the ADC overflow flag when you want to purge IQ?
I apologize for the inconvenience. I will make a note of this issue and in the future maybe we can improve the reporting of the ADC overflow flag.
Regards,
Andrew- AuthorPosts
You must be logged in to reply to this topic.