How to get MATLAB to recognize my Thorlabs Scientific Camera Link Camera?

76 vues (au cours des 30 derniers jours)
I have a Thorlabs Scientific Camera (Camera Link) that I am trying to use with the Image Acquisition Tool. My camera isn't appearing under the Hardware Browser automatically like its supposed to. Does anyone know how to fix this? Thanks!

Réponse acceptée

Jonathan Friesen
Jonathan Friesen le 25 Mar 2019
Hi Kat,
Unfortunately the Image Acquisition Toolbox is no longer supported by Thorlabs cameras. It’s been replaced with a new .NET interface in versions 3.0.0 and up. With this interface you can control the camera by calling Thorlabs .NET assemblies in MATLAB script. I recommend checking out the most recent version of the SDK and looking over the Thorlabs Camera MATLAB Interface Guide as well as the MATLAB programming samples.
The ThorCam Software includes both ThorCam and the SDK, but you can navigate to the ‘Programming Interfaces’ tab to get just the SDK.
Hope this helps!
  3 commentaires
Matthew Broome
Matthew Broome le 26 Juin 2019
Hi Kat,
I have the same problem when I try to run the script "ThorlabsCameraGUI".
I get the following message:
Message: Could not load file or assembly 'file:///C:\Users\PNP\Desktop\Matlab\Camera\Scientific
Camera Interfaces\MATLAB\Thorlabs.TSI.TLCamera.dll' or one of its dependencies. The system cannot
find the file specified.
Source: mscorlib
HelpLink:
Error in gui_mainfcn (line 220)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
Error in ThorlabsCameraGUI (line 42)
gui_mainfcn(gui_State, varargin{:});
Did you solve this problem yet?
Ghulam Murtaza
Ghulam Murtaza le 2 Fév 2021
Dear Jonathan Friesen,
I have attached thorlab CS505 CU cam with my PC. And using its GUI interface i successfully getting the imgae frames in MATLAB. But I don't where the images are saving. Example
Starting the camera.
Image frame number: 2
Image frame number: 6
Image frame number: 11
Image frame number: 15
Image frame number: 19
Image frame number: 24
Image frame number: 29
Image frame number: 33
Image frame number: 37
Image frame number: 42
Stopping the camera
WHERE, these frames are saving... Any Idea?

Connectez-vous pour commenter.

Plus de réponses (1)

Mauro Fusco
Mauro Fusco le 25 Mar 2019
Modifié(e) : Mauro Fusco le 25 Mar 2019
Hi,
I am not quite sure if your specific camera is supported, but have you tried to install this support package?
Once installed, use webcamlist to see the cameras available, and webcam command to create a camera object.

Catégories

En savoir plus sur MATLAB Support Package for IP Cameras dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by