Hello, I would like to know more about methods, in IManagedCameraBase class:
IManagedImage GetNextImage();IManagedImage GetNextImage(ulong timout);
But there is not much documentation there (Or I can not find it).
I have installed "SpinnakerSDK_FULL_1.27.0.48_x86" from FLIR.
And have made one C# application with DLL libary "SpinnakerNET_v140.dll" version 1.27.0.48.
All works Okay, except when I'm continuously getting frames from FLIR AX5 camera and then unplug network cable, I get 2 exceptions:
System.Runtime.InteropServices.SEHException: 'External component has thrown an exception.'
SpinnakerNET.SpinnakerException: 'Spinnaker: Failed waiting for EventData on NEW_BUFFER_DATA event. [-1011]'
in line using (IManagedImage rawImage = cam.GetNextImage(500))
So i would ask you, if i can get more documentation how to handle this exception and use this method.
I learned how to use SDK from "Acquisition_CSharp_vs2015" example, and my code is mostly the same with few modifications - it runs in thread and I show images with LUT on windows form application.
Is there OnDisconnect event in SDK?
Any examples for reconnection handling?
Hello, I would like to know more about methods, in
IManagedCameraBase
class:IManagedImage GetNextImage();
IManagedImage GetNextImage(ulong timout);
But there is not much documentation there (Or I can not find it). I have installed "SpinnakerSDK_FULL_1.27.0.48_x86" from FLIR. And have made one C# application with DLL libary "SpinnakerNET_v140.dll" version 1.27.0.48.
All works Okay, except when I'm continuously getting frames from FLIR AX5 camera and then unplug network cable, I get 2 exceptions:
in line
using (IManagedImage rawImage = cam.GetNextImage(500))
So i would ask you, if i can get more documentation how to handle this exception and use this method. I learned how to use SDK from "Acquisition_CSharp_vs2015" example, and my code is mostly the same with few modifications - it runs in thread and I show images with LUT on windows form application.
Is there OnDisconnect event in SDK? Any examples for reconnection handling?