Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

All syllogisms have three parts, therefore this is not a syllogism.


devel / comp.lang.clipper.visual-objects / Re: Connection to a Scale using Ginny's Serial Class Windows 10

SubjectAuthor
* Connection to a Scale using Ginny's Serial Class Windows 10Craig
+* Re: Connection to a Scale using Ginny's Serial Class Windows 10dlzc
|`* Re: Connection to a Scale using Ginny's Serial Class Windows 10Craig
| `* Re: Connection to a Scale using Ginny's Serial Class Windows 10dlzc
|  `* Re: Connection to a Scale using Ginny's Serial Class Windows 10Craig
|   `- Re: Connection to a Scale using Ginny's Serial Class Windows 10Martin
`* Re: Connection to a Scale using Ginny's Serial Class Windows 10Phil McGuinness
 `- Re: Connection to a Scale using Ginny's Serial Class Windows 10Craig

1
Connection to a Scale using Ginny's Serial Class Windows 10

<15511cfa-c73c-4e8c-8e11-eecccac3cfadn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=810&group=comp.lang.clipper.visual-objects#810

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a0c:edcf:: with SMTP id i15mr11235045qvr.10.1621583458333;
Fri, 21 May 2021 00:50:58 -0700 (PDT)
X-Received: by 2002:a05:6214:b27:: with SMTP id w7mr10999055qvj.40.1621583458172;
Fri, 21 May 2021 00:50:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 21 May 2021 00:50:57 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=144.139.40.247; posting-account=U7mEgQoAAAB9dszWb3htAea7Tk2wiZP2
NNTP-Posting-Host: 144.139.40.247
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <15511cfa-c73c-4e8c-8e11-eecccac3cfadn@googlegroups.com>
Subject: Connection to a Scale using Ginny's Serial Class Windows 10
From: craig@control.net.au (Craig)
Injection-Date: Fri, 21 May 2021 07:50:58 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Craig - Fri, 21 May 2021 07:50 UTC

Hi All.

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.

Re: Connection to a Scale using Ginny's Serial Class Windows 10

<254067de-02f8-4ec9-905d-140c13d2e602n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=811&group=comp.lang.clipper.visual-objects#811

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ac8:498f:: with SMTP id f15mr11701998qtq.32.1621604200984;
Fri, 21 May 2021 06:36:40 -0700 (PDT)
X-Received: by 2002:ac8:149a:: with SMTP id l26mr11099283qtj.297.1621604200796;
Fri, 21 May 2021 06:36:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 21 May 2021 06:36:40 -0700 (PDT)
In-Reply-To: <15511cfa-c73c-4e8c-8e11-eecccac3cfadn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=68.107.209.13; posting-account=7bF0GwoAAABMFHX6V4fON4-1F6LFJ834
NNTP-Posting-Host: 68.107.209.13
References: <15511cfa-c73c-4e8c-8e11-eecccac3cfadn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <254067de-02f8-4ec9-905d-140c13d2e602n@googlegroups.com>
Subject: Re: Connection to a Scale using Ginny's Serial Class Windows 10
From: dlzc1@cox.net (dlzc)
Injection-Date: Fri, 21 May 2021 13:36:40 +0000
Content-Type: text/plain; charset="UTF-8"
 by: dlzc - Fri, 21 May 2021 13:36 UTC

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,
> 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

Re: Connection to a Scale using Ginny's Serial Class Windows 10

<26c7d097-f05d-4502-9ccf-fabbd193a13en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=813&group=comp.lang.clipper.visual-objects#813

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a0c:9e4f:: with SMTP id z15mr13007569qve.52.1621607001579;
Fri, 21 May 2021 07:23:21 -0700 (PDT)
X-Received: by 2002:a37:a15:: with SMTP id 21mr11980984qkk.421.1621607000871;
Fri, 21 May 2021 07:23:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 21 May 2021 07:23:20 -0700 (PDT)
In-Reply-To: <15511cfa-c73c-4e8c-8e11-eecccac3cfadn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=220.233.162.254; posting-account=DLsZHwoAAADZjAB6-BmLUbnomrA9rubZ
NNTP-Posting-Host: 220.233.162.254
References: <15511cfa-c73c-4e8c-8e11-eecccac3cfadn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <26c7d097-f05d-4502-9ccf-fabbd193a13en@googlegroups.com>
Subject: Re: Connection to a Scale using Ginny's Serial Class Windows 10
From: sherlocksoftware@gmail.com (Phil McGuinness)
Injection-Date: Fri, 21 May 2021 14:23:21 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Phil McGuinness - Fri, 21 May 2021 14:23 UTC

On Friday, May 21, 2021 at 5:50:58 PM UTC+10, Craig wrote:
> Any clues?
> Thanks in advance, Craig Dawson.

https://www.coolgear.com/product/usb-to-serial-adapter-windows-10

Read some threads on chipset change and workaround USB to RS232..

Re: Connection to a Scale using Ginny's Serial Class Windows 10

<dc8df5bc-9df5-4b35-aa65-1729946e46fan@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=831&group=comp.lang.clipper.visual-objects#831

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ad4:5d66:: with SMTP id fn6mr5094271qvb.12.1624013972670;
Fri, 18 Jun 2021 03:59:32 -0700 (PDT)
X-Received: by 2002:a0c:ef41:: with SMTP id t1mr5202475qvs.2.1624013972507;
Fri, 18 Jun 2021 03:59:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 18 Jun 2021 03:59:32 -0700 (PDT)
In-Reply-To: <254067de-02f8-4ec9-905d-140c13d2e602n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=144.139.40.247; posting-account=U7mEgQoAAAB9dszWb3htAea7Tk2wiZP2
NNTP-Posting-Host: 144.139.40.247
References: <15511cfa-c73c-4e8c-8e11-eecccac3cfadn@googlegroups.com> <254067de-02f8-4ec9-905d-140c13d2e602n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dc8df5bc-9df5-4b35-aa65-1729946e46fan@googlegroups.com>
Subject: Re: Connection to a Scale using Ginny's Serial Class Windows 10
From: craig@control.net.au (Craig)
Injection-Date: Fri, 18 Jun 2021 10:59:32 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Craig - Fri, 18 Jun 2021 10:59 UTC

On Friday, May 21, 2021 at 11:36:41 PM UTC+10, dlzc wrote:
> 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,
> > 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

Hi David,
Thanks for that suggestion. Much appreciated.
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.
Craig.

Re: Connection to a Scale using Ginny's Serial Class Windows 10

<8b7beb1d-a569-494d-99e8-1ccbd04a0133n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=832&group=comp.lang.clipper.visual-objects#832

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ac8:5045:: with SMTP id h5mr7972938qtm.178.1624014162180;
Fri, 18 Jun 2021 04:02:42 -0700 (PDT)
X-Received: by 2002:a05:6214:80a:: with SMTP id df10mr5089930qvb.8.1624014162039;
Fri, 18 Jun 2021 04:02:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 18 Jun 2021 04:02:41 -0700 (PDT)
In-Reply-To: <26c7d097-f05d-4502-9ccf-fabbd193a13en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=144.139.40.247; posting-account=U7mEgQoAAAB9dszWb3htAea7Tk2wiZP2
NNTP-Posting-Host: 144.139.40.247
References: <15511cfa-c73c-4e8c-8e11-eecccac3cfadn@googlegroups.com> <26c7d097-f05d-4502-9ccf-fabbd193a13en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8b7beb1d-a569-494d-99e8-1ccbd04a0133n@googlegroups.com>
Subject: Re: Connection to a Scale using Ginny's Serial Class Windows 10
From: craig@control.net.au (Craig)
Injection-Date: Fri, 18 Jun 2021 11:02:42 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Craig - Fri, 18 Jun 2021 11:02 UTC

On Saturday, May 22, 2021 at 12:23:22 AM UTC+10, Phil McGuinness wrote:
> On Friday, May 21, 2021 at 5:50:58 PM UTC+10, Craig wrote:
> > Any clues?
> > Thanks in advance, Craig Dawson.
> https://www.coolgear.com/product/usb-to-serial-adapter-windows-10
>
> Read some threads on chipset change and workaround USB to RS232..

Yes Phil - the FTDi chipset looks to be the solution. Thanks for the tip ol' mate. Will let you know how things go once it arrives.
Craig.

Re: Connection to a Scale using Ginny's Serial Class Windows 10

<e39a3c8b-8087-4eab-b997-5bcae8fb91e8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=833&group=comp.lang.clipper.visual-objects#833

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:622a:43:: with SMTP id y3mr10750417qtw.247.1624024279211;
Fri, 18 Jun 2021 06:51:19 -0700 (PDT)
X-Received: by 2002:a0c:e644:: with SMTP id c4mr5388894qvn.33.1624024278984;
Fri, 18 Jun 2021 06:51:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 18 Jun 2021 06:51:18 -0700 (PDT)
In-Reply-To: <dc8df5bc-9df5-4b35-aa65-1729946e46fan@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=68.107.209.13; posting-account=7bF0GwoAAABMFHX6V4fON4-1F6LFJ834
NNTP-Posting-Host: 68.107.209.13
References: <15511cfa-c73c-4e8c-8e11-eecccac3cfadn@googlegroups.com>
<254067de-02f8-4ec9-905d-140c13d2e602n@googlegroups.com> <dc8df5bc-9df5-4b35-aa65-1729946e46fan@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e39a3c8b-8087-4eab-b997-5bcae8fb91e8n@googlegroups.com>
Subject: Re: Connection to a Scale using Ginny's Serial Class Windows 10
From: dlzc1@cox.net (dlzc)
Injection-Date: Fri, 18 Jun 2021 13:51:19 +0000
Content-Type: text/plain; charset="UTF-8"
 by: dlzc - Fri, 18 Jun 2021 13:51 UTC

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 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.

Thank 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.

David A. Smith

Re: Connection to a Scale using Ginny's Serial Class Windows 10

<39b36d39-6abc-4bb2-aa64-db5c6f2f5374n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=834&group=comp.lang.clipper.visual-objects#834

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ac8:424a:: with SMTP id r10mr10754741qtm.147.1624025781522;
Fri, 18 Jun 2021 07:16:21 -0700 (PDT)
X-Received: by 2002:a37:485:: with SMTP id 127mr9438823qke.277.1624025781364;
Fri, 18 Jun 2021 07:16:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 18 Jun 2021 07:16:20 -0700 (PDT)
In-Reply-To: <e39a3c8b-8087-4eab-b997-5bcae8fb91e8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=144.139.40.247; posting-account=U7mEgQoAAAB9dszWb3htAea7Tk2wiZP2
NNTP-Posting-Host: 144.139.40.247
References: <15511cfa-c73c-4e8c-8e11-eecccac3cfadn@googlegroups.com>
<254067de-02f8-4ec9-905d-140c13d2e602n@googlegroups.com> <dc8df5bc-9df5-4b35-aa65-1729946e46fan@googlegroups.com>
<e39a3c8b-8087-4eab-b997-5bcae8fb91e8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <39b36d39-6abc-4bb2-aa64-db5c6f2f5374n@googlegroups.com>
Subject: Re: Connection to a Scale using Ginny's Serial Class Windows 10
From: craig@control.net.au (Craig)
Injection-Date: Fri, 18 Jun 2021 14:16:21 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Craig - Fri, 18 Jun 2021 14:16 UTC

On Friday, June 18, 2021 at 11:51:20 PM UTC+10, dlzc wrote:
> 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 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.
> Thank 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.
>
> David A. Smith

Yes David, no problem, just had to say thanks for you comment on the newsgroup- it steered me on the right path. Just grabbed a FTDi converter from a friend (only 2 doors down the road - and bugger me) and it worked no worries at all.
Goes to show - VO code is soooo good. Hardware - hmm, sometimes not so. (Prolific take note).

Re: Connection to a Scale using Ginny's Serial Class Windows 10

<008f2e07-4a9f-46fb-9080-9e506efe75aan@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=869&group=comp.lang.clipper.visual-objects#869

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ad4:596b:: with SMTP id eq11mr11645443qvb.34.1625474818006;
Mon, 05 Jul 2021 01:46:58 -0700 (PDT)
X-Received: by 2002:a37:44cc:: with SMTP id r195mr12901082qka.478.1625474817868;
Mon, 05 Jul 2021 01:46:57 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.net!fdn.fr!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Mon, 5 Jul 2021 01:46:57 -0700 (PDT)
In-Reply-To: <39b36d39-6abc-4bb2-aa64-db5c6f2f5374n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=213.162.122.146; posting-account=sWwm-AoAAACeYpMJcaDaI-80nTPXD_O1
NNTP-Posting-Host: 213.162.122.146
References: <15511cfa-c73c-4e8c-8e11-eecccac3cfadn@googlegroups.com>
<254067de-02f8-4ec9-905d-140c13d2e602n@googlegroups.com> <dc8df5bc-9df5-4b35-aa65-1729946e46fan@googlegroups.com>
<e39a3c8b-8087-4eab-b997-5bcae8fb91e8n@googlegroups.com> <39b36d39-6abc-4bb2-aa64-db5c6f2f5374n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <008f2e07-4a9f-46fb-9080-9e506efe75aan@googlegroups.com>
Subject: Re: Connection to a Scale using Ginny's Serial Class Windows 10
From: martinimber@googlemail.com (Martin)
Injection-Date: Mon, 05 Jul 2021 08:46:57 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Martin - Mon, 5 Jul 2021 08:46 UTC

This is interesting as we use the class with barcode readers and everyone says FTDI converters, now I know why.

I thought it was reliability rather than corruption.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor