How to integrate .NET control for a uEye camera in a function

3 次查看(过去 30 天)
Hallo everyone, I wrote a merit function to test some variables. It's very necessary that each time a picture should be taken and evaluated.
Until now I use the ActiveX to control the camera. But I don't know the method to read a picture file directly from the camera. So I save the picture temporally and order MATLAB to read it.
Currently I have found some codes introducing to control the camera with .NET, which let data directly be read from camera to MATLAB. The code works good but since I try to integrate it into my function, I am not sure anymore which input should I extra add. There are always some errors which has something to do with system assembly.
Anyone knows how to solve this kind of Problem?

回答(1 个)

Ankit Bhatnagar
Ankit Bhatnagar 2017-8-23
Hi,
ActiveX uses the COM interface, which is now no longer supported by IDS (uEye cameras). It is now recommended to use the .NET interface.
Check the following post for examples/workaround:

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for IP Cameras 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by