How to get MATLAB to recognize my Thorlabs Scientific Camera Link Camera?
61 views (last 30 days)
Show older comments
Kat Maddock
on 25 Mar 2019
Commented: Ghulam Murtaza
on 2 Feb 2021
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!
0 Comments
Accepted Answer
Jonathan Friesen
on 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 SDK software can be found here: https://www.thorlabs.com/software_pages/ViewSoftwarePage.cfm?Code=ThorCam
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 Comments
Matthew Broome
on 26 Jun 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
on 2 Feb 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?
More Answers (1)
Mauro Fusco
on 25 Mar 2019
Edited: Mauro Fusco
on 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.
See Also
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!