06-27-2012 02:12 PM
Hello all,
I'm running LabView 2011 SP1 on a PC running Windows 7 32-bit. I have three OO HR2000+ spectrometers (UV, VIS, NVIS) that I'm trying to run through LabView. I've managed to get a continuous waveform spectrum up and running for one spectrometer at a time, but my setup requires that I run all three simultaneously. I expanded my working VI to include the other two remaining spectrometers but when I run it by selecting 2 or 3 spectromter VISAs, the 1st spectrometer initializes but LabView errors out on initializing the rest, and I get this error message:
Error -1073807346 occurred at VISA Open in Ocean Optics 2000 4000.lvlib:Initialize.vi->specs.vi
Possible reason(s):
VISA: (Hex 0xBFFF000E) The given session or object reference is invalid.
Attached is my sample VI. I modified it from the NI continuous waveform sample VI provided through the Ocean Optics 2000 4000 driver.
Any help on what may be wrong, or if I'm taking the wrong approach with my code would be greatly appreciated.
--Mike
Solved! Go to Solution.
06-28-2012 05:53 PM
Hi Mike,
Can you verify that all three devices appear in Measurement and Automation Explorer? It is likely that you will have to create or install the USB Raw Mode driver for all three devices since that appears to be what the VIs are using for communication.
In addition, it is not uncommon for the USB controller on the desktop to not supply enough power to run all of the USB devices at once. Can you verify that you are plugging the devices directly into the motherboard and not in the front of the computer or into a USB hub? If you try to communicate with just two devices, instead of all three, do you receive the same error message or are you able to communicate?
07-07-2012 09:34 PM
Do you know if the drivers operate correctly in windows 7?. I have installed the files but appears error in code 18 in the window of device manager.
Anyone have a solution?. I trying with USB4000
07-09-2012 06:45 PM
Hello Diegin,
I just look into the readme file of the driver and it seems that it works with Windows 7.
07-17-2012 11:03 AM
Hi Milan,
Sorry for the late response! I had the spectrometers connected to a USB hub. While they were being detected in Win 7's device manager, MAX couldn't read them, so I plugged them directly to the back of the PC and that seemed to solve the problem.
Thanks!
--Mike