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?
Unsynchronization in GetFrameGroup()
-
- Posts: 46
- Joined: Thu Oct 21, 2010 2:02 am
- Location: Japan
Re: Unsynchronization in GetFrameGroup()
I'll take a look. You shouldn't have to do anything prior to running the sample.
Re: Unsynchronization in GetFrameGroup()
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)