D455 C# AccessViolationException
Hi,
I work with a colleague on a new application with lot of D455 cameras (between 8 to 16).
Our problem is, after few minutes, an error appears in processedFrames. We don't understand why.
Our project is in C# with VisualStudio 2019, SDK version 2.47.0.3309, firmware 5.12.10.00, computer works on Windows 10 pro 20H2.
Error screenshot :

Thanks for your help,
Regards
-
Hi Ahabeillon A case in the link below of AccessViolationException occurring in C# when post-processing is applied may be a useful reference for you.
-
Thanks for the reply MartyX Grover
I take a look at this article.
My problem is :
I don't understand where my mistake is.
-
I must emphasize that I am not a C# programming specialist. I did locate a C# reference that may be relevant though, where dev.QuerySensors was defined with an index bracket on the end as dev.QuerySensors()[0];
-
Thanks MartyG
//var sensors = dev.QuerySensors();
var depthSensor = dev.Sensors[0]; // sensors[0];
var colorSensor = dev.Sensors[1]; //sensors[1]; -
Hi MartyG,
I'm back with some news.
I'am following your link and this : librealsense/Window.xaml.cs at master · IntelRealSense/librealsense · GitHubNow, my problem is solved.
I have got an other one, but I have fix it (Frame didn't arrive within 5000). Im few words, be carefull with FPS, image size and your USB port.In my case, I connect 4 cameras on an USB-3HUB with optic fiber. I have got a good result with 5fps, 848px*480px.
Thanks a lot for your support! -
You are very welcome Ahabeillon :)
Please sign in to leave a comment.
Comments
6 comments