API Functions | Signal Hound
Return Values
bbNoError Successful
bbNullPtrErr If any pointer passed as a parameter is null, bbNullPtrErr will be
returned and no values will be returned.
bbDeviceNotOpenErr The device provided does not refer to an open device.
bbDeviceNotConfiguredErr The device is not in a known operational state or is idle. This error will
also be returned if the device is in BB_RAW_PIPE mode.
bbQueryRealTimeInfo
Query the frame size of the real-time frame
bbStatus bbQueryRealTimeInfo(int device, int *frameWidth, int *frameHeight);
Parameters
device Handle of an initialized device.
frameWidth Pointer to a 32-bit signed integer.
frameHeight Pointer to a 32-bit signed integer.
Description
This function should be called after initializing the device for Real-Time mode. This device returns the
frame size of the real-time frame configured.
Return Values
bbNoError The function returned successfully.
bbDeviceNotOpenErr The device specified is not open.
bbNullPtrErr A pointer parameter supplied is equal to NULL.
bbDeviceNotConfiguredErr The device specified is not configured for real-time mode.
bbQueryTimestamp
Retrieve an absolute time of a data packet
bbStatus bbQueryTimestamp(int device, unsigned int *seconds, unsigned int
*nanoseconds);
Parameters
device Handle of an initialized device.
seconds Seconds since midnight (00:00:00), January 1, 1970, coordinated
universal time(UTC).
nanoseconds nanoseconds between seconds and seconds + 1