How to run Thorlabs Camera on Matlab?

22 views (last 30 days)
ichi
ichi on 3 May 2014
Edited: Sai Kanth Dacha on 1 Feb 2022
HI,
We use matlab 2011a, a thorlabs DCC1545M camera (USB2), and want to capture image in matlab or maybe have live view. It is essential to control camera parameters.
Matlab easily find and run other CCDs (imagingsource and some regular webcams), but i cannot connect it to matlab. I installed camera’s driver and package & Microsoft Visual C++, as C++ compiler (2005/2008/2010 redistributed edition), but i can’t run it. What is routine way to run this camera?
I would be thankful for any helps.

Answers (2)

Arminas Butkus
Arminas Butkus on 2 Sep 2014
Hi, Ichi,
Have you done this task? It would be great if you share your code/ideas, because I'm working on my project to make an interface for DataRay CCD camera.
Thanks in advance.
  2 Comments
David Gustavsson
David Gustavsson on 19 Mar 2021
Sorry to be a necromancer, but did you ever get anywhere on this? The advice from Dataray seems to be "Create a Matlab gui and bind the buttons to virtual buttons in OCX", when all I want is to be able to run a script and get 100 evenly spaced captures as numerical data files.
Sai Kanth Dacha
Sai Kanth Dacha on 1 Feb 2022
Edited: Sai Kanth Dacha on 1 Feb 2022
Were you able to figure this out? I too am looking for a simple way to capture images from a DataRay camera via MATLAB, given as the MATLAB GUI that DataRay has on their website refuses to work...

Sign in to comment.


John
John on 2 Sep 2014
According to Thorlabs documentation this is possible. See: http://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=4024&pn=DCC1545M
There is a hint about how to use it in MATLAB under "Features" => "Software"
You will probably want to look here in case you need to call externals from MATLAB:
If the camera is recognized as a webcam under Windows, I would guess the Image Acquisition Toolbox might be able to see it, although I do not see that model in the list of supported hardware.
If you get it working please let us know, some of us may use Thorlabs cameras in the future for interfacing with MATLAB

Community Treasure Hunt

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

Start Hunting!