Signal Hound | API Functions
The gain choices for each device range from 0 to BB#_MAX_GAIN.
When BB_AUTO_GAIN is selected, the API uses the reference level provided in bbConfigureLevel() to
choose the best gain setting for an input signal with amplitude equal to the reference level provided.
After the RF input attenuator (0-30 dB), the RF path contains an additional amplifier stage after band
filtering, which is selected for medium or high gain and bypassed for low or no gain.
Additionally, the IF has an amplifier which is bypassed only for a gain of zero.
For the highest gain settings, additional amplification in the ADC stage is used.
Return Values
bbNoError Device successfully configured.
bbDeviceNotOpenErr The device handle provided does not point to an open device.
bbInvalidGainErr This is returned if the gain value is outside the range of possible inputs.
bbConfigureSweepCoupling
Configure sweep processing characteristics
bbStatus bbConfigureSweepCoupling(int device, double rbw, double vbw, double
sweepTime, unsigned int rbwType, unsigned int rejection);
Parameters
device Handle to the device being configured.
rbw Resolution bandwidth in Hz. Use the bandwidth table in the appendix to
determine good values to choose. As of 1.07 in non-native mode, RBW
can be arbitrary. Therefore you may choose values not in the table and
they will not clamp.
vbw Video bandwidth (VBW) in Hz. VBW must be less than or equal to RBW.
VBW can be arbitrary. For best performance use RBW as the VBW.
sweepTime Suggest a sweep time in seconds.
In sweep mode, this value specifies how long the BB60 should sample
spectrum for the configured sweep. Larger sweep times may increase
the odds of capturing spectral events at the cost of slower sweep rates.
The range of possible sweepTime values run from 1ms -> 100ms or
[0.001 – 0.1].
In the real-time configuration, this value represents the length of time
data is collected and compounded before returning a sweep. Values for
real-time should be between 16ms-100ms [0.016 – 0.1] for optimal use.
In zero span mode this is the length of the returned sweep as a measure
of time. Sweep times for zero span must range between 10us and
100ms. Values outside this range are clamped.