Unsynchronization in GetFrameGroup()

Post Reply
Ushikubo Tomohiro
Posts: 46
Joined: Thu Oct 21, 2010 2:02 am
Location: Japan

Unsynchronization in GetFrameGroup()

Post by Ushikubo Tomohiro »

Hi.

I use software named FrameSynchronization that exists in samples of Camera SDK.

In the sample program, It is showed "unsynchronized" when the software is used with S250e by using the FrameGroup.GetFrameGroup() command. Moreover, when the frame number is displayed, a different value is displayed.

Would you tell me this behavior is right or not. Or do I have to do something before using this samples?
beckdo
Posts: 520
Joined: Tue Jan 02, 2007 2:02 pm

Re: Unsynchronization in GetFrameGroup()

Post by beckdo »

I'll take a look. You shouldn't have to do anything prior to running the sample.
beckdo
Posts: 520
Joined: Tue Jan 02, 2007 2:02 pm

Re: Unsynchronization in GetFrameGroup()

Post by beckdo »

Found a problem with that sample. The LastFrameGroupMode() function returns of type FrameGroup::Modes, but the sample compares it against the type cModuleSync::RunningModes. For some reason the compiler doesn't complain--probably because they are both enumerations that distill down to integers. I'll get this fixed in the next version of the SDK, in the meantime, simply update the comparison to this:

Code: Select all

               

 if(sync->LastFrameGroupMode()==FrameGroup::Hardware)


Post Reply