help how do i get usb4000 to work
i plugged in usb 4000, pressed new plugin button on “OceanOpticsSpec” and entered the vendor id and product id from the documentation; but it keeps giving error
did i miss a step? i can’t find a subreddit, discord, IRC, or forum for this software so i dont know where else to ask for help.
Comments (7)
-
-
The OceanOpticsSpec plugin uses the ``LibUSB`` plugin to communicate with the device. The error message comes from the LibUSB plugin, saying that it cannot find a device with the given vendor and product ID.
Could you please try to directly use the LibUSB plugin to create a connection to the OceanOpticsSpec? For this, use the same ``VendorID`` and ``ProductID`` and set the ``endpoint`` parameter to 1. Additionally, set the optional initialization parameter ``printInfoAboutAllDevices`` to 1. Then, all detected USB devices, that are supported by LibUSB, are printed to the command line of itom. This should help to check if the device could be found and what Vendor ID and product ID (maybe endpoint) has to be used.
-
reporter i will try these steps later this week in lab thank you for responses
-
reporter I tried the following things
- testing usb-4000 with oceanview software (it works)
- opened device driver and found hardware ids to make sure i was using correct ids
- tried the ids from device driver with both plugins
The error was the same every time as the the one shown in the issue. I wonder what could be the problem.
-
Hi Chesse,
based on this website https://devicehunt.com/view/type/usb/vendor/2457/device/1012 you can see, that the OceanOptics USB4000 device has the right vendor and product ID. However, I guess that these values are hex-values: 0x2457 and 0x1022. At least, the devicehunt.com homepage also shows product and vendor IDs that contain letters A-F.If I am right, you have to enter the corresponding decimal integer value into the new plugin instance dialog (in a future version of itom, you can directly enter the hex-value here):
0x2457=9303 and 0x1022=4130.As I have written in my previous post, you could also get a list of all detected devices using the libusb plugin and the optional parameter (new optional tab in the new plugin instance dialog) ``printInfoAboutAllDevices`` set to 1.
Maybe this solves the problem.
Cheers
Marc
-
reporter thank you this fixed the error; it now tells me that the “LIBUSB ERROR TIMEOUT” but the original error is fixed now with the instructions you have given.
-
reporter - changed status to resolved
using the correct vendor id and productID fixes the issue
- Log in to comment
Did it work with the OceanOptics Software?