i already done that... i just need to find out where... i had to do some unwanted Hard-Disk clean-up recently... i hope i still have it somewhere, unless i may try to redo it once again.
i already done that... i just need to find out where... i had to do some unwanted Hard-Disk clean-up recently... i hope i still have it somewhere, unless i may try to redo it once again.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi!
I was hoping somenone could give any ideas on my subject, its been more than a week and no post here, You donīt have to know the solutions... lets just talk about your oppinions or ideas
Thanks for any help
i already gave mine, maybe yu could check on wich hub/port a specific device is connected... i just don't have any spare time... but i could deal with few K-CAN$![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I can't speak for Visual Basic, but in Delphi, you request a list of HID devices, and each one has it's own "Handle".
If two devices have the same Vendor/Product ID's then you look for the serial number to tell the difference. But access to the device is by specifying the Handle.
Here's a small program that can identify the serial number and handle. Note: the handle changes on every connection or power-up/re-boot.
www.pbpgroup.com/files/HIDmonitor.exe
Put it anywhere, there is no installation to do.
<br>
DT
same rules apply with any language, look at the mcHID API reference. But seems NOBODY want to use the serial number... no matter why they suffer
Nice utility Darrel!
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Well, if there was an easy way to do it, it might look more attractive.
Running EasyHID or manually editing the descriptor file each time doesn't seem like an option.
Maybe there's a way to have the descriptor file read the Hardware Serial number, then have the programmer auto-increment the serial number, ... but it doesn't currently have that feature.
Other than that, since you can find the handle of each device with the same Vendor/Product ID, within your software you can create a Challenge/Response type arrangement that will let the computer assign a unique number to any new devices on the BUS.
Thanks Steve,Nice utility Darrel!
It's come in handy a few times troubleshooting USB connections.
Thought I'd spruce it up and pass it on.
<br>
DT
On another forum someone already Suggest USBDeview. I use it a lot, it's a real nice utility ...
http://www.nirsoft.net/utils/usb_devices_view.html
They also have bunch of other nice freebies over there...
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Ok i will use Darrelīs exe program.
I know it will not be exactly the same for VB but if there is any chance that you could post the source code i would finally see how itīs done!
I am sure i can do with just the handler, i could also identify wich device was connected first and have a record of devices....
This would be a great place to begin
Thanks for your replies
DJC
i want to use usbdemo to count rpm of motor and display the rpm in computer. how to do that?
Begin small, begin by finding a way to count the RPM, show it on a lcd or via a serial communication... once you have it done, port your to code to USBDemo.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks