Thank you for contacting us.
From what I understand from your case, you’re looking at https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_essential_strong_synchronization.html as a reference to build your code, and your goal is to enable strong synchronization, right? We’d like to do a bit of research before providing a suggestion.
Could you tell us more information about your environment such as DCM version, SDK Release version, is the error from the picture you posted the only message you receive, are there additional error logs. The more information you can provide, the better.
thanks for your reply. You are right, I would like to get the IR,depth images with closest time stamp,and do some further treatment with them,here is the detailed information:
Programming platform: VS2012
when the code exercises at
Sorry, I have no English version of VS2012. theThrew error means “An access violation occurred while reading location '0x00000000'”
and the error seams comes from the "pxcimage.h"
On the face of this problem,<PXCCapture::Sample *sample>get nothing from <PXCSenseManager *pp>after exercise code
sts=pp->AcquireFrame(true); sample= pp->QuerySample();
when I change the parameter of <AcquireFrame> function to "false", only “depth” of “sample” has data.
and then, I remove the option "PXCCapture::Device::STREAM_OPTION_STRONG_STREAM_SYNC",all the streams I enabled has data,
but this is not what I need, So it is a little weird. any further information requirement, please that me know. thanks a lot.
Thank you for sending the details we requested. We’ll review this new information and hope to find something useful. We’ll contact you as soon as we have an update.
Thank you for your patience. We’ve been working on your case and noticed that you’re looking at only one frame as seen in this statement for(int i=0;i<1;i++). You should try capturing more frames for sync to happen. You can test your code with the CameraViewer sample.
Let us know your results.