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).
The exact same application, scale, rs232 cable and com
port settings - just different machine and OS.
Any clues?
Thanks in advance, Craig Dawson.
On Friday, May 21, 2021 at 5:50:58 PM UTC+10, Craig wrote:
Any clues?https://www.coolgear.com/product/usb-to-serial-adapter-windows-10
Thanks in advance, Craig Dawson.
Read some threads on chipset change and workaround USB to RS232..
Dear Craig:
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,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?
it drops the hundredths and thousandths of a kilogram
and rounds (eg: 2.5).
The exact same application, scale, rs232 cable and comDavid A. Smith
port settings - just different machine and OS.
After speaking with the techs at CAS themselves, they have
confirmed that the Serial to USB adaptors that use the Prolific
Chipset often return corrupt data trains. These seem to be
everywhere as they are very cheap to buy (so many customers
have them of course). The more expensive ones that use the
FTDi Chipset don't suffer the same problem with corruption of
data. I have purchased one and am now just awaiting its arrival.
Phil McGuinness also alluded to the USB chipset and he could
be right on the money as well. Anyway, will test it when it arrives
and confirm either way.
Dear Craig:
On Friday, June 18, 2021 at 3:59:33 AM UTC-7, Craig wrote:
...
After speaking with the techs at CAS themselves, they haveThank you for keeping posterity fed with valuable information. You don't need to direct your response to me, the Group is fine. My last use of serial comms with scales was in 1990, and I did not use VO.
confirmed that the Serial to USB adaptors that use the Prolific
Chipset often return corrupt data trains. These seem to be
everywhere as they are very cheap to buy (so many customers
have them of course). The more expensive ones that use the
FTDi Chipset don't suffer the same problem with corruption of
data. I have purchased one and am now just awaiting its arrival.
Phil McGuinness also alluded to the USB chipset and he could
be right on the money as well. Anyway, will test it when it arrives
and confirm either way.
David A. Smith
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 61:08:59 |
Calls: | 6,488 |
Calls today: | 1 |
Files: | 12,094 |
Messages: | 5,274,430 |