Discussion:
Thorlabs SPX driver in LabView 7.1
(too old to reply)
DrrN
2008-06-13 15:10:07 UTC
Permalink
I've got the SP1-USB spectrometer from Thorlab which came with LabView
driver libraries, which are described as being generated converting
the CVI version with NI-LabVIEW 7.1. I do have LabView 7.1 but can't run any of
the supplied VIs - they are reported as not
executable. I can load them, look at their code, but not run. The VISA is a
most recent one, 4.3, so it must not be a problem.

So, does anybody use those drivers in LabView v7.1 environment successfully? Are there any tricks?
Thanks beforehand.
Dennis Knutson
2008-06-13 15:10:08 UTC
Permalink
All VIs created from a CVI driver require the dll that was created with CVI. The block diagrams will have a Call Library Function Node. You would need to install that as well and the vendor should have provided it. Since the VIs are not executable and would presumably have a broken arrow, you can click the run arrow to get a description of the error. I'm guessing that this will list the missing dll. If you did install the dll, it may be in an unexpected location. Search your harrdrive to see if it exists and move to to the correct location or update the Call Library Function Nodes to point it to where you do have it.
DrrN
2008-06-17 11:10:06 UTC
Permalink
Thanks Dennis, the problem was indeed just the path to dll. Silly of me.with regards
attosecondpulse
2008-08-11 19:10:07 UTC
Permalink
I have the same problem. In fact, I even could not initialize the spectrometer.  Using Thorlabs USB Scanner, I can see the spectrometer. But the "spx initialize.vi" always gives me a error information.
I also checked the dll path and it was correct.
Please see the attached screen printing.
Thanks
Chengquan


Ini_Thorlab_SP1_USB1.pdf:
http://forums.ni.com/attachments/ni/170/348402/1/Ini_Thorlab_SP1_USB1.pdf
Dennis Knutson
2008-08-11 19:40:06 UTC
Permalink
I've not used the device but it will be much easier to troubleshoot your problem if you provide the actual error information you are getting. You don't need to provide a screen shot. The error code you get would be enough.
cschneider
2008-08-11 19:40:09 UTC
Permalink
This post might be inappropriate. Click to display it.
attosecondpulse
2008-08-11 21:10:05 UTC
Permalink
Thanks for the reply.
I also tried the parameters following the thorlabs manual. And did not get more information.
Bests
Chengquan

Loading...