API Functions | Signal Hound
bbNullPtrErr The parameter version is null.
bbGetDeviceDiagnostics
Retrieve the current internal device characteristics
bbStatus bbGetDeviceDiagnostics(int device, float *temperature, float *usbVoltage,
float *usbCurrent);
Parameters
device Handle of an open device.
temperature Pointer to 32-bit float. If the function is successful temperature will
point to the current internal device temperature, in degrees Celsius. See
“bbSelfCal” for an explanation on why you need to monitor the device
temperature.
voltageUSB USB operating voltage, in volts. Acceptable ranges are 4.40 to 5.25 V.
currentUSB USB current draw, in milliamps.
Description
Pass null to any parameter you do not wish to query.
The device temperature is updated in the API after each sweep is retrieved. The temperature is returned
in Celsius and has a resolution of 1/8
th
of a degree.
A USB voltage of below 4.4V may cause readings to be out of spec. Check your cable for damage and
USB connectors for damage or oxidation.
Return Values
bbNoError Successfully retrieved the temperature
bbDeviceNotOpenErr Device specified is not currently open/valid
bbAttachTg
Pairs and open BB60C spectrum analyzer with a Signal Hound tracking generator
bbStatus bbAttachTg(int device);
Parameters
device Device handle.
Description
This function is a helper function to determine if a Signal Hound tracking generator has been previously
paired with the specified device.
Return Values