I have an Omron M10-IT blood pressure monitor (which is an USB HID). Currently, I upload the results to the Omron site, then download the data as a csv file, and, finally read the data into an Access file. Unfortunately, Omron will shortly cease support.
I use VB NET Framework 4.8 on Visual Studio 2022 on a Windows 11 PC. For a couple of weeks, I have been searching the internet in an attempt to interface with the device with a view to downloading the raw data to my PC.
Any help or pointers would be appreciated, especially if the sample code was also available. For instance, is the HidDeviceObject
available in VB or is it only exposed in a version of C? It seems to be defined in "hidsdi.h" for C, so what assembly reference and import do I require for VB? Links to any tutorial material or articles would be most welcome.
What I have tried:
I have attempted to base my VB solution on the article "How to Communicate with its USB Devices using HID Protocol" which is for C# with no success.
On another site, I found "USB HID Template for Visual Basic" which dates back to 2010 and is targeted at x32 cpus.
Thanks in advance for any help or suggestions.