torfbolt / PyDAQFlex

Python implementation of Measurement Computing's DAQFlex command framework
15 stars 14 forks source link

Getting a connection. #9

Open cuniculture opened 8 years ago

cuniculture commented 8 years ago

Hi Guys, I've just installed the software for my USB-204 (Windows 10). I can connect to the device using the TracerDAQ software from MCC. The device appears to be working OK.

Now I am trying to connect to the device with PyDAQFlex like this:

import daqflex dev=daqflex.USB_204 print(dev)

and was getting an error 'device not found'. I saw another suggestion to try using just the usb module like this:

import usb dev = usb.core.find(idVendor=0x09db, idProduct=0x0114) print(dev)

When I run this it returns: None

I am using Windows 10, and Python 3.5.1. I installed PyDAQFlex in my projects venv without any errors: easy_install pydaqflex

Can you please help me to get connected to my device using PyDAQFlex?

Thank you.

cuniculture commented 8 years ago

I tried the same setup using a Linux computer and I can connect to the USB_204 just fine. This must be a Windows problem. I looked in the windows device manager and confirmed that the device is there and has the correct vendor/product ID's.

Has anyone used this on Windows successfully?

doramran commented 7 years ago

help :/ i am stuck in the very same problem and getting the 'device not found' error, any suggestions?