Hi.
In the Camera SDK, there is a description like the under.
class CLAPI HealthMonitor
{
public:
HealthMonitor();
~HealthMonitor();
enum Types
{
Health_Alive = 0,
Health_Receiving_Frames,
Health_Invalid_Packet,
Health_Invalid_Header,
Health_Invalid_Footer,
Health_Invalid_Grayscale,
Health_Segment_Overflow,
Health_Object_Overflow,
Health_Aggregation_Overflow,
Health_Frame_Queue_Overflow,
Health_Large_Command_Queue,
Health_FrameGroup_Queue_Overflow,
Health_Type_Count,
Health_XACT_Error
};
By using this code, I think I will get various errors.
I have a two question about this code.
i)Can the cue overflow or the frame group cue overflow exist after the camera starts be detected?
ii)Would you give me a coding example, if it is possible?
How to get Queue_Overflow?
-
- Posts: 46
- Joined: Thu Oct 21, 2010 2:02 am
- Location: Japan
Re: How to get Queue_Overflow?
Yes, the health monitor is there to provide real-time information regarding the current status of the camera.
These health messages are displayed in the lower left hand corner of the sample application windows as well. A good way to trigger one on the sample application is click and resize the window size. You'll see frame queue overflow momentarily.
Here some example code to show how you might go about displaying it:
These health messages are displayed in the lower left hand corner of the sample application windows as well. A good way to trigger one on the sample application is click and resize the window size. You'll see frame queue overflow momentarily.
Here some example code to show how you might go about displaying it:
Code: Select all
camera->Health()->Update();
for(int i=0; i<camera->Health()->ItemCount(); i++)
printf("%s\n", camera->Health()->ItemText(i);
for(int i=0; i<camera->Health()->InverseCount(); i++)
printf("%s\n", camera->Health()->InverseText(i));