Motaz
asked on
USB component for Delphi
Hello experts, I need a USB component that enables me to send and receive data using USB interface
Motaz
Motaz
https://www.experts-exchange.com/questions/20627068/usb-programming.html?query=USB&topics=85
Or download the HID component from here:
http://scripts.soft-gems.net/download.php?ID=37
''The HID controller (Human Interface Devices) is a component suite, which gives complete access to HID devices. Handles all devices which are in the HID subclass of USB. You will also find nice Delphi tricks like a private constructor. Compatible with Delphi 4 to 6 and BCB (tested with BCB 6 Trial). Runs on all Windows versions from Windows 95 on. Even on Windows 95 and Windows NT which have no USB support. It only never finds HID devices there.''
http://scripts.soft-gems.net/download.php?ID=37
''The HID controller (Human Interface Devices) is a component suite, which gives complete access to HID devices. Handles all devices which are in the HID subclass of USB. You will also find nice Delphi tricks like a private constructor. Compatible with Delphi 4 to 6 and BCB (tested with BCB 6 Trial). Runs on all Windows versions from Windows 95 on. Even on Windows 95 and Windows NT which have no USB support. It only never finds HID devices there.''
Or here...
http://www.lvr.com/hidpage.htm
http://www.lvr.com/hidpage.htm
calinutz, you steal my question ;-)
> calinutz, you steal my question ;-)
hehehehe... robert, you are a tad bit slow today ;-)
hehehehe... robert, you are a tad bit slow today ;-)
ASKER
robert, it is your component!
Can I use it to transfer data between two computers without having USB-network driver?
or can I use it to listen to a device that has usb connection, I mean the same like com port devices
Motaz
Can I use it to transfer data between two computers without having USB-network driver?
or can I use it to listen to a device that has usb connection, I mean the same like com port devices
Motaz
No, No, No.
First my component handles only the USB subclass of HID devices. A bridge device to connect two computers is never a HID device.
Second such a bridge device always implements network drivers so any other way of access is silly and impossible.
Third networking over USB is a kludge. Two 100 MBit ethernet cards are cheap, reliable and extensible.
First my component handles only the USB subclass of HID devices. A bridge device to connect two computers is never a HID device.
Second such a bridge device always implements network drivers so any other way of access is silly and impossible.
Third networking over USB is a kludge. Two 100 MBit ethernet cards are cheap, reliable and extensible.
ASKER
I don't need really networking, I have a device that trasmit data via USB cable, I want to receive that data\
Motaz
Motaz
ASKER
I thought that USB port like com port and parallel port, they needs a component that call assembler code or windows APIs to read and transmit data in a very simple way.
ASKER
3'd: I read a discussion about using USB the same like com, if I buy a converter, should I be restricted to the band width of com port or I can use more speed?
Motaz
Motaz
ASKER
can I use assembler code to read and trasmit data in USB?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Some devices implement virtual COM port which completely work like a real COM port, except that they can use the higher speeds of USB.
Probably the driver even ignores the speed settings since it knows that it talks to a USB device which works at USB speed.
USB to RS232 adapters carry a real UART chip at the other end which is limited to the RS232 hardware limits built into the chip.
Probably the driver even ignores the speed settings since it knows that it talks to a USB device which works at USB speed.
USB to RS232 adapters carry a real UART chip at the other end which is limited to the RS232 hardware limits built into the chip.