Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Barth_S_
Beginner
40 Views

-301 Exception thrown by senseManager.AcquireFrame(true)

Hi All,

I use C# wrapper of the SDK. Init goes all well but after receiving the first sample I receive a -301 error code from function 
AcquireFrame(true);. In the documentation there is no reference why the error -301 or enum PXCM_STATUS_EXEC_ABORTED has been thrown.

Using the SDK logger I caught the following exception.

2016-10-03 10:26:57,151 rssdk.libpxccore (T-0x00003538) C:\Builds\2160\SW\src\_studio\core\core\src\corescheduler.cpp:     311 SyncPoint::SignalSyncPoint      ERROR - sts = -301
2016-10-03 10:26:57,151 rssdk.libpxccore (T-0x00003538) C:\Builds\2160\SW\src\_studio\core\core\src\corescheduler.cpp:     311 SyncPoint::SignalSyncPoint      ERROR - sts = -301
2016-10-03 10:26:57,151 rssdk.libpxccore (T-0x00003538) C:\Builds\2160\SW\src\_studio\core\core\src\corescheduler.cpp:     311 SyncPoint::SignalSyncPoint      ERROR - sts = -301
2016-10-03 10:26:57,151 rssdk.libpxccore (T-0x00003538) C:\Builds\2160\SW\src\_studio\core\core\src\corescheduler.cpp:     311 SyncPoint::SignalSyncPoint      ERROR - sts = -301
2016-10-03 10:26:57,151 rssdk.libpxccore (T-0x00003538) C:\Builds\2160\SW\src\_studio\core\core\src\corescheduler.cpp:     311 SyncPoint::SignalSyncPoint      ERROR - sts = -301
2016-10-03 10:26:57,151 rssdk.libpxccore (T-0x00003538) C:\Builds\2160\SW\src\_studio\core\core\src\corescheduler.cpp:     311 SyncPoint::SignalSyncPoint      ERROR - sts = -301
2016-10-03 10:26:57,151 rssdk.libpxccore (T-0x00002158) C:\Builds\2160\SW\src\_studio\core\core\src\corescheduler.cpp:     256 SyncPoint::SynchronizeExINT      ERROR - Function Scheduler::SyncPoint::SynchronizeExINT returned sts = PXC_STATUS_EXEC_ABORTED (Execution aborted due to errors in upstream components)
2016-10-03 10:26:57,151 rssdk.libpxccore (T-0x00002158) C:\Builds\2160\SW\src\_studio\core\core\src\corescheduler.cpp:     256 SyncPoint::SynchronizeExINT      ERROR - Function Scheduler::SyncPoint::SynchronizeExINT returned sts = PXC_STATUS_EXEC_ABORTED (Execution aborted due to errors in upstream components)
2016-10-03 10:26:58,288 rssdk.libpxccore (T-0x00002158) C:\Builds\2160\SW\src\_studio\core\core\src\corescheduler.cpp:     256 SyncPoint::SynchronizeExINT      ERROR - Function Scheduler::SyncPoint::SynchronizeExINT returned sts = PXC_STATUS_EXEC_ABORTED (Execution aborted due to errors in upstream components)
2016-10-03 10:26:58,288 rssdk.libpxccore (T-0x00002158) C:\Builds\2160\SW\src\_studio\core\core\src\corescheduler.cpp:     256 SyncPoint::SynchronizeExINT      ERROR - Function Scheduler::SyncPoint::SynchronizeExINT returned sts = PXC_STATUS_EXEC_ABORTED (Execution aborted due to errors in upstream components)
2016-10-03 10:30:05,816 rssdk.RealSenseDCMR200 (T-0x000031ac) D:\Builds\49\HiddenBuilds\src\_studio\service\RealSenseDCM\..\common/UnknownBase.h:      47        com::SafeExecuteEx      ERROR - CameraException: -2147467259
2016-10-03 10:30:05,820 rssdk.libpxccamera_dcm_r200 (T-0x00001968) D:\Builds\49\HiddenBuilds\src\_studio\service\common/PxcSafeExecute.h:      19             SafeExecuteEx      ERROR - lambda []()-><unknown-type>::operator()()-><unknown-type> @ "CaptureDeviceClient.cpp"(259) : (error 0x80004005) Unspecified error
 
2016-10-03 10:30:05,833 rssdk.RealSenseDCMR200 (T-0x000031ac) D:\Builds\49\HiddenBuilds\src\_studio\service\RealSenseDCM\..\common/UnknownBase.h:      47        com::SafeExecuteEx      ERROR - CameraException: -2147467259
2016-10-03 10:30:05,834 rssdk.libpxccamera_dcm_r200 (T-0x00001968) D:\Builds\49\HiddenBuilds\src\_studio\service\common/PxcSafeExecute.h:      19             SafeExecuteEx      ERROR - lambda []()-><unknown-type>::operator()()-><unknown-type> @ "CaptureDeviceClient.cpp"(259) : (error 0x80004005) Unspecified error
 
2016-10-03 10:30:05,919 rssdk.RealSenseDCMR200 (T-0x000031ac) D:\Builds\49\HiddenBuilds\src\_studio\service\RealSenseDCM\..\common/UnknownBase.h:      47        com::SafeExecuteEx      ERROR - CameraException: -2147467259
2016-10-03 10:30:05,920 rssdk.libpxccamera_dcm_r200 (T-0x00001968) D:\Builds\49\HiddenBuilds\src\_studio\service\common/PxcSafeExecute.h:      19             SafeExecuteEx      ERROR - lambda []()-><unknown-type>::operator()()-><unknown-type> @ "CaptureDeviceClient.cpp"(259) : (error 0x80004005) Unspecified error
 
2016-10-03 10:30:05,939 rssdk.RealSenseDCMR200 (T-0x000031ac) D:\Builds\49\HiddenBuilds\src\_studio\service\RealSenseDCM\..\common/UnknownBase.h:      47        com::SafeExecuteEx      ERROR - CameraException: -2147467259
2016-10-03 10:30:05,942 rssdk.libpxccamera_dcm_r200 (T-0x00001968) D:\Builds\49\HiddenBuilds\src\_studio\service\common/PxcSafeExecute.h:      19             SafeExecuteEx      ERROR - lambda []()-><unknown-type>::operator()()-><unknown-type> @ "CaptureDeviceClient.cpp"(259) : (error 0x80004005) Unspecified error
 
I already tried removing en re-install the driver and SDK without any luck.

The camera that we use is a Intel Realsense R200 camera.

Are there any known issues related towards the USB connector ?
I have some USB3 connectors on my laptop but I don't know if the connector is able to deliver the power it
proberly needs.

I tested on my Desktop but with no luck, the camera won't init properly with a clean install.

I was only able to stream the color channel, adding more streams will cause the exception to appear.

Here is a snip of the code that I'm using:

 

public void Start()
        {
            if (senseManager != null)
                senseManager.Dispose();

            senseManager = PXCMSenseManager.CreateInstance();
            senseManager.EnableStream(PXCMCapture.StreamType.STREAM_TYPE_COLOR | PXCMCapture.StreamType.STREAM_TYPE_DEPTH, 0, 0);

            var statusInit = senseManager.Init();

            if (statusInit != pxcmStatus.PXCM_STATUS_NO_ERROR)
            {
                OnError("Camera kon niet gevonden worden of kan momenteel geen verbinding accepteren.", (int)statusInit);
                return;
            }

            // Start the worker thread
            processingThread = new Thread(new ThreadStart(ProcessingThread));
            processingThread.Start();
        }

 



 

 
0 Kudos
1 Reply
jb455
Valued Contributor II
40 Views

This is probably due to the webcam bug Microsoft introduced in the Win10 Anniversary Update. Choose a lower resolution colour image for now (640*480 seems most stable), then you should be able to go back to full resolution when (if?) MS get around to fixing it.

Reply