On Friday, May 21, 2021 at 12:50:58 AM UTC-7, Craig wrote:
> Has anyone encountered an issue using Ginny's serial class
> in Windows 10 when connecting to something like a scale?
> In other versions of Windows (XP, Win7, Embedded, etc),
> when I query the scale for a weight, it comes back perfectly
> fine with 3 decimal points (eg: 2.456) kilograms.
> Running the exact same code on a Windows 10 machine,
> it drops the hundredths and thousandths of a kilogram
> and rounds (eg: 2.5).
Have you discussed this with the scale manufacturer? You can't have been the first person to experience this. Have you looked at the actual character buffer, to see what was received by your code?
> The exact same application, scale, rs232 cable and com
> port settings - just different machine and OS.
David A. Smith