Hello everyone.
Because I don’t want to deliver a binary DLL for every device my software supports, I want to talk to the interface-board natively on Windows. I tried different approaches, such as using a memory mapped file.
I also tried buffered and unbuffered Raw Input operations over Microsofts HID driver (see here: msdn.microsoft.com/en-us/library/ms645536(VS.85.aspx )
However, every attempt failed, because I never had any events in my WM_INPUT queue (or in the buffered version).
It is possible, however, to register the device and tell Windows to redirect input to my Application. It just never recieves anything.
Does anyone have experience with this?
Thanks in advance
Adrian
[quote=“VEL448”]A lot of the kits create virtual COM ports (usbser.sys), which can be opened easily with the Windows API CreateFile function. I would still recommend the usage of a DLL for communication with the device, unless the DLL does not meet a set standard or lacks certain features.
Good luck[/quote]
As said, I tried the CreateFile method. However, the device does not create a virtual COM port. It just gives me a normal HID device, just like a Joystick and stuff like that.
I now tried to at lease get ANY data from the device by using a USB sniffer on the correct port and randomly pressing some Buttons on the device - without success. (The Demo-Programs work, so it’s not a hardware problem).
Do I maybe have to send something to the device first to tell it to send everything back through USB?
On the other hand, could someone tell me where i could find more Information about that topic, or even specificly about programming the velemann devices without the usuage of the Velemann DLL? I sadly couldn’t find much Info on the net. Maybe there is a more detailed documentation than just the short DLL-explanation?
Thanks in Advance
Adrian
Yes, this card uses the HID interface.
I’m sorry, but we do not support native communications for this kit.
The DLL’s are included or downloadable, all functions are accessible with the DLL functions.