You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to control a KDC101. I am able to control the KDC101 using Thorlabs' Kinesis software, and if I use usb.core.find() I can find the device, and even get the serial number. However, apt.list_available_devices() only gives an empty array, indicating that it does not detect the KDC101.
My code is as follows:
import usb
import thorlabs_apt as apt
PID = 0xFAF0
VID = 0x0403
dev = usb.core.find(idProduct = PID,idVendor = VID)
if not dev:
print("Device not found.")
else:
print("Device found.")
serial_number = usb.util.get_string( dev, dev.iSerialNumber )
print(serial_number)
serial_junk = apt.list_available_devices()
print(serial_junk)
The output is:
Device found.
27258145
[]
I have no idea how to fix this. I have tried installing libusb and pyusb and I've created drivers for libusb using Zadig 2.5.
The text was updated successfully, but these errors were encountered:
I'm trying to control a KDC101. I am able to control the KDC101 using Thorlabs' Kinesis software, and if I use usb.core.find() I can find the device, and even get the serial number. However, apt.list_available_devices() only gives an empty array, indicating that it does not detect the KDC101.
My code is as follows:
The output is:
I have no idea how to fix this. I have tried installing libusb and pyusb and I've created drivers for libusb using Zadig 2.5.
The text was updated successfully, but these errors were encountered: