I am sorry to hear that you are experiencing this problem.
The simpliest method would be to see what the USB-PP number is registered in you Device manager, if you only have one usb to parallel port device connected it will usually be registered as USB-PP1, when trying to open it through the driver it is opened via 101 for this port number. In your software I would advise trying this port three times and then bailing out, it can take a few seconds for the USB to Parallel port device to enumerate.
- Code: Select all
port = 101
Do 'While opened = False
opened = drdaq_open_unit(port) <> 0 'Open drdaq driver
count = count + 1
If count > 3 and port = False Then
MsgBox ("Sorry I can't detect a DrDaq unit on the computer. Check connections and try again.")
I hope this is of some use.