Jump to content
  • 1
Kyle R

WbtApi::WbtSweeper Usage

Question

Couple of questions regarding the usage of the WbtSweeper API,

  • What determines the duration of a Partial Sweep? A Timeout? A buffer usage? A number of frequencies swept?
  • Is there any API level control over this determination?
  • How is the backing data store managed on a Partial Sweep callback? Is the sweep data removed from the buffer or will it persist to a Sweep Complete callback?
  • The class description mentions a call to WbtSweeper::releaseOldestBuffer to free up space during a continuous sweep, but this does not appear to be exposed via the public API. Is this no longer necessary?

Cheers

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 2

What determines the duration of a Partial Sweep? A Timeout? A buffer usage? A number of frequencies swept?

At this point in time every partial sweep delivery correlates to a radio tuning operation. So, if you have to tune the radio 10 times to complete a sweep (as determined by RBW and sweep span) there will be 10 partial reports for every complete report.

Is there any API level control over this determination?

Not at this time, however, in the future we may provide a parameter to tune the partial sweep delivery rate in a bandwidth or time based manner.

How is the backing data store managed on a Partial Sweep callback? Is the sweep data removed from the buffer or will it persist to a Sweep Complete callback?

The partial sweep data is removed from its buffer nearly immediately after the callback completes.

The class description mentions a call to WbtSweeper::releaseOldestBuffer to free up space during a continuous sweep, but this does not appear to be exposed via the public API. Is this no longer necessary?

This is no longer the case. In order to make the process more straightforward, sweep buffers are released automatically on completion of the sweep completion callback. Failure to leave the callback function in a timely manner will result in the system waiting to perform a sweep until a free buffer is available. This will be reflected in the documentation for the next release.

  • Upvote 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×