Matlab with led control Thorlabs DC2100

4 views (last 30 days)
Arie Gaon
Arie Gaon on 13 Apr 2015
Commented: Luc Gendre on 12 Jan 2016
Hello
Does anyone know how can I work with led control Thorlabs DC2100 in matlab for control led lighting intensity?
Thanks for any answare.
Arie.

Answers (1)

Luc Gendre
Luc Gendre on 7 Jan 2016
Hi,
I would also like to control a DC2100 from Matlab, but I have some issues. Did you get it to work in the end?
In my case, I think the problem is that Matlab does not see the NI-VISA interface.
instrhwinfo('visa')
ans =
HardwareInfo with properties:
InstalledAdaptors: {1x0 cell}
JarFileVersion: 'Version 3.7'
I've used the "get hardware support package" from Matlab in order to help. But at some point during the installation I get an unidentified error (see attached file). NI-VISA and NI-IVI (ICP) are installed. I checked. All that I need right now is to install only the couple of files that tell Matlab where to find VISA and how to use it.
Is there a way to do it without using the "get hardware support package" from Matlab? Maybe do it manually...?
Thanks in advance.
Regards.
  1 Comment
Luc Gendre
Luc Gendre on 12 Jan 2016
Here is a little update for who it might concern... one day... maybe... ;) There might be a problem of version compatibility. I'm running a 32 bits version of Labview (thus a 32 bits version of NI-VISA), on a 64 bits version of Windows 7, and therefore a 64 bits version of Matlab (2015a). This configuration causes the problem I described above. I tried to update the configuration on a "complete" 32 bits computer (32 bits for Labview, windows 7, and Matlab), and Matlab found the NI-VISA adaptor right away. I did not have time yet to try to write a script down. But that's still one step forward. ;)

Sign in to comment.

Communities

More Answers in the  Power Electronics Control

Categories

Find more on Instrument Control Toolbox Supported Hardware 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!