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

조회 수: 52 (최근 30일)
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!

채택된 답변

Jonathan Friesen
Jonathan Friesen 2019년 3월 25일
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
Matthew Broome
Matthew Broome 2019년 6월 26일
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 2021년 2월 2일
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?

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Mauro Fusco
Mauro Fusco 2019년 3월 25일
편집: Mauro Fusco 2019년 3월 25일
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.

Community Treasure Hunt

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

Start Hunting!

Translated by