usb communication
-
Hi, I want to communicate with a USB device from my PC by using Visual C++.The device is a RF-ID.So I do not need to transfer large files, I only need to read the ID from RF-ID. How can I do that simply? I search the web some but the sources that I found are more advanced than I can understand. Can you seggest me a simple way because I am not much experienced? Thanks for any help ibrahim
-
Hi, I want to communicate with a USB device from my PC by using Visual C++.The device is a RF-ID.So I do not need to transfer large files, I only need to read the ID from RF-ID. How can I do that simply? I search the web some but the sources that I found are more advanced than I can understand. Can you seggest me a simple way because I am not much experienced? Thanks for any help ibrahim
If you didn't receive any documentation with the device (which is highly doubt), you should contact the supplier of the device because the way to communicate with the device driver is in general specific to the device (so, in other words, we can't help without having much more information).
Cédric Moonen Software developer
Charting control [v1.4] -
If you didn't receive any documentation with the device (which is highly doubt), you should contact the supplier of the device because the way to communicate with the device driver is in general specific to the device (so, in other words, we can't help without having much more information).
Cédric Moonen Software developer
Charting control [v1.4] -
The problem is that I don't know how to communicate with the driver by using programmming languages. For example I am using Visual C++.What is the code for the communication?I have not the documentation but I will get it. Thanks
To get a handle to the driver you call CreateFile passing the driver symbolic name (which depends on the device), then you can call ReadFile and WriteFile (if they are implemented by the driver). For more advanced stuff, you can call DeviceIOControl and pass device specific control codes. So, I repeat myself once again (I think you alread asked questions about it yesterday too): we can't help you with more because the codes and the driver symbolic name depends on how they implemented their driver. So, you should have received some documentation with the device. Did you read it before asking questions here ? If you didn't receive documentation, you should contact the supplier of the device.
Cédric Moonen Software developer
Charting control [v1.4] -
Hi, I want to communicate with a USB device from my PC by using Visual C++.The device is a RF-ID.So I do not need to transfer large files, I only need to read the ID from RF-ID. How can I do that simply? I search the web some but the sources that I found are more advanced than I can understand. Can you seggest me a simple way because I am not much experienced? Thanks for any help ibrahim