Clear Filters
Clear Filters

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

3 views (last 30 days)
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?

Answers (1)

Ankit Bhatnagar
Ankit Bhatnagar on 23 Aug 2017
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:

Categories

Find more on MATLAB Support Package for IP Cameras in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!