Forums › SA Series Discussions › USB-SA44B New API 3.0 (sa_api.dll) Resolution Band Width Settings
- This topic has 1 reply, 2 voices, and was last updated 10 years, 1 month ago by
Andrew.
- AuthorPosts
Roger PetersonParticipantUsing the following code, I set the RBW & VBW to 10 and acquire data:
saOpenDevice(handle)
saConfigCenterSpan(handle, 3000.0, 200.0)
saConfigAcquisition(handle, SA_AVERAGE, SA_LOG_SCALE)
saConfigLevel(handle, -10.0)
saConfigSweepCoupling(handle, 10, 10, True)
saInitiate(handle, SA_SWEEPING, 0)
saQuerySweepInfo(handle, sweepLen, startFreq, binSize)
saGetSweep_32f(handle, min, max)
saCloseDevice(handle)What is returned: binSize = 1.854
I was expecting 10, or at least close to 10. Is this normal?
AndrewModeratorHello Roger,
Good question. In a spectrum analyzer, resolution bandwidth is typically defined by the 3dB bandwidth. This is the width of a signal (CW) measured 3dB down from the peak on either side. This is the definition we use.
The reason the bin size is not equivalent to the RBW is due to the use of window functions. If you are not familiar with window functions see here. http://en.wikipedia.org/wiki/Window_function Most windows functions spread the spectral energy across multiple bins, which is commonly referred to as the window bandwidth, or noise bandwidth, or B. Flat-top windows have a higher bandwidth than most, usually B > 3. We use custom flat-top windows to achieve a higher amplitude accuracy, reduce spectral leakage, and maintain a high dynamic range.
You can directly calculate B using your example by the equation… 10 / 1.854 = B.
B will not be the same all the time, as we attempt to find the best B for any given setup.Let us know if you have any other questions.
Regards,
A.J.- AuthorPosts
You must be logged in to reply to this topic.