I'm sorry if this has been answered.
But, how do you send and receive information on a USB port?
The USB port chip driver is installed in windows, but I cannot find any clear documentation unlike COM Serial ports.
These companies that make drivers for their hardware have to be going through some Microsoft interface.
Any purebasic code demonstrating how to send and receive packets to a device on a port would be helpful. It doesn't have to be device specific as the Devices' driver interprets the command sequence.
I want to get live video off my expensive Cannon camera. The software that came with it can get live video on screen for remote picture taking, but it can't be routed to another software, meaning they are send a sequence of commands to the camera to tell the camera to send the video back.
So basicly anyway to monitor the usb data sent to the device so I can copy it in my own software, and send/receive from my own software?
Thanks.
USB port usage
Sure that Windows does not register your cam as a capture device? If not so I think it becomes complicated. Maybe you can find some SDKs on the manufactors website?
I dont think (but I may be wrong) that there is a general access commandset to communicate with any USB device. More likely a low level driver issue, so you need documentations on the driver itself.
I dont think (but I may be wrong) that there is a general access commandset to communicate with any USB device. More likely a low level driver issue, so you need documentations on the driver itself.
Tranquil
Yes there is an sdk, but its in c++ with objects and have to link with their library.
But what I asked is how do I communicate with the USB port myself. :roll:
The driver for the device(in this case 'Camera') is not a driver for the USB integrated circuit that is on my motherboard.
As I stated before windows already has this driver installed, but there is no real documentation on how I can send and receive packets myself. Not through a c++ sdk with an library that is junk.
I want to do this in Purebasic with API or other lowlevel functions.
This is possible, because the device driver itself is communicating with the USB control chip, alas its hidden in their silly static lib.
I have many robotic projects I"d like to move to usb as Com ports are so 70's.
USB has been around for many years, but cannot find any sample code for low level communication with out some lib, that never does what you want.
Thanks.
But what I asked is how do I communicate with the USB port myself. :roll:
The driver for the device(in this case 'Camera') is not a driver for the USB integrated circuit that is on my motherboard.
As I stated before windows already has this driver installed, but there is no real documentation on how I can send and receive packets myself. Not through a c++ sdk with an library that is junk.
I want to do this in Purebasic with API or other lowlevel functions.
This is possible, because the device driver itself is communicating with the USB control chip, alas its hidden in their silly static lib.
I have many robotic projects I"d like to move to usb as Com ports are so 70's.

USB has been around for many years, but cannot find any sample code for low level communication with out some lib, that never does what you want.

Thanks.