Author Topic: USB data packets into Excel  (Read 27176 times)

gr8guitar

  • Member
  • ***
  • Posts: 10
Re: USB data packets into Excel
« Reply #15 on: June 25, 2019, 11:35:43 am »
Hello. Thank you for the reply. It looks like I got my work cut out for me. Finally, which Declared Function has the data packets? And how did you know what parameters to use from that Declared Function?

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: USB data packets into Excel
« Reply #16 on: June 25, 2019, 11:10:44 pm »
You can use any of these to read Input report data:

ReadFile
Filestream.Read
HidD_GetInputReport

My example code should help.

gr8guitar

  • Member
  • ***
  • Posts: 10
Re: USB data packets into Excel
« Reply #17 on: June 26, 2019, 01:18:39 pm »
Okay. I'll look it over. I realized last night, I may just may re-wire the buttons and rotary encoders to something like the BU0836A joystick controller. It'll be much more expedient. I appreciate the time and information that was given.  :)

marian.amrich@gmail.com

  • Member
  • ***
  • Posts: 1
Re: USB data packets into Excel
« Reply #18 on: February 23, 2022, 01:58:37 am »
Hello. Could you post the project containing HID inside of VBA, I'm still in trap how to continue. Many thanks, marian.amrich@gmail.com