11-13-2012 12:42 PM
Hi,
I'm using an AnywhereUSB ethernet device server to remotely connect to an Ocean Optics USB2000+ spectrometer. This works great - up until I try to plug in a second spectrometer. At that point, the first spectrometer disappears from MAX and I get the following VISA error (in MAX):
0xBFFF003A (VI_ERROR_INV_SETUP)
viFindRsrc returned 0xBFFF003A (Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state).)
Please make sure VISA is properly installed on this system.
Possible causes for this error:
1. More than one Passport may be attempting to claim the same resource. You can try disabling Passports to figure out which Passport is causing the error.
2. You have connected multiple unconfigured plug-and-play devices that have the same resource name. For example, the vendor ID and serial number may be the same.
I have confirmed that the spectrometers are both visible in the windows device manager, and appear to be functioning normally. If I unplug either spectrometer, the remaining one immediately starts working. After speaking with an engineer at Ocean Optics, I'm convinced the problem is related to the fact that Ocean Optics doesn't include the serial number in the USB interface. I have confirmation in that I can run 2 NI USB-6009s with the AnywhereUSB without issue.
So my question is this - Is there are workaround? Is there any way to communicate with these devices without a serial number? Note that when the devices were plugged into local USB ports, there were no issues - this only occurs when I use the remote device server USB ports.
Thanks,
JasonP
11-14-2012 05:57 PM
I would try to configuring your 3rd Party USB Devices in MAX.
USB Instrument Control Tutorial