07-10-2012 01:26 PM
07-10-2012 02:19 PM
Hi
Thank you for your quick reply. I figured the problem! The problem has to do with the USB configuration. Labview USB4000 USB driver must be used in place of the Windows USB driver. I know this was the recurring theme in the previous replies, but once this is done, the Labview VISA recognizes the USB4000.
This is great! Thank you so much.
If anyone needs help along these lines, please don't hesitate to post it. I struggled with this problem for 2 days!
Allan
09-28-2012 11:01 PM
Hi friends,
I have downloaded the drives for Ocean Optics USB2000 spectrometer. I have a LabVIEW 2010, VISA 5.6 and Windows XP SP3. I installed the driver from VISA-USB folder and can find the device in MAX. In MAX the device is reported as working, and same for Windows device manager. Currently I am trying to run a simple example code "Acquire continuous waveform" with default parameters. I can successfully shoose a USB-VISA device in front panel. However, then the code comes to the point where it excites "read spectra.vi" the programm freezes. Stop button does not help, so I have to hit "abort". Attached is IN\O trace.
Did anyone have same trubbles?
Thank you
10-01-2012 02:50 PM
I see nothing obvious. The get spectrum is send (0x09) and the last thing that happens is that it switched to end point 2 and tried a read. Apparently nothing came back. Just to make sure there was no general issue with this driver I tried a usb2000 and it ran fine. Do you have any OOI software to test this device with? Its possible the device is broken.
James
10-01-2012 02:51 PM
Just had a thought. It is possible your integration time is longer than your timeout? I don't see any commands setting integration time at all in the trace so it is likely at the default for the device which I believe is 100 ms.
10-01-2012 10:24 PM
Hi, I've tried to set the integration time up. It does not help.
The spectrometer works OK with standart OOI program.
I installed LabView on another computer (thought that could be a windows problem) but it did not help. So frustrating(
10-02-2012 01:42 AM
10-02-2012 07:25 AM
The trace suggests he is talking to the device which means he must have switched drivers.
10-02-2012 02:37 PM
10-02-2012 08:59 PM
Hi, I've gone to my friend, who has 8.6 version. Still nothing works. Hell knows what is the problem, but I really need to get this device working. I've replaced subVI "read spectrum" from original example (continious...) with internal scheme of subVI. There is a mistake that goes from "read VISA": Timeout expired before operation completed. (0xBFFF0015 (VI_ERROR_TMO))
I've set up the timeout and integration times, but it does not help.
NI supporters, please-please check the code and the SPY report. Thank you.