I would like to read the data from a DYMO S250 weigh scale into my VB6 program.
The interface of the scale is described as a 'USB 2.0 Low Speed HID Scale Device'.
Before I buy a scale to play with I would like to know if this is even possible without a special dll from DYMO?
I only have a little USB and VB6 experience.
Do I just need to know the VendorID and ProductID?
And then use this?
Public Sub OnChanged()
Dim DeviceHandle As Long
' get the handle of the device we are interested in, then set
' its read notify flag to true - this ensures you get a read
' notification message when there is some data to read...
DeviceHandle = hidGetHandle(VendorID, ProductID)
hidSetReadNotify DeviceHandle, True
End Sub
And then used the OnRead event to read the data?
How do I know how many Bytes long to have the receiving data buffer defined as?
Thanks,
Dale
The above code is used in conjunction with a HIDDLLInterface module I found somewhere.
The interface of the scale is described as a 'USB 2.0 Low Speed HID Scale Device'.
Before I buy a scale to play with I would like to know if this is even possible without a special dll from DYMO?
I only have a little USB and VB6 experience.
Do I just need to know the VendorID and ProductID?
And then use this?
Public Sub OnChanged()
Dim DeviceHandle As Long
' get the handle of the device we are interested in, then set
' its read notify flag to true - this ensures you get a read
' notification message when there is some data to read...
DeviceHandle = hidGetHandle(VendorID, ProductID)
hidSetReadNotify DeviceHandle, True
End Sub
And then used the OnRead event to read the data?
How do I know how many Bytes long to have the receiving data buffer defined as?
Thanks,
Dale
The above code is used in conjunction with a HIDDLLInterface module I found somewhere.