Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Scale Interface

Path: g2news2.google.com!news3.google.com!feeder.news-service.com!weretis.net!feeder2.news.weretis.net!newsfeed.utanet.at!newscore.univie.ac.at!newsfeed.aon.at!newsreader04.highway.telekom.at!not-for-mail
From: "Peter Zich" <p.z...@aon.at>
Newsgroups: comp.sys.ibm.as400.misc
References: <e6ba0a97-2f8d-4b2b-9b2a-b75058fb35b5@b35g2000yqi.googlegroups.com>
Subject: Re: Scale Interface
Date: Wed, 30 Jun 2010 08:58:43 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931
Lines: 38
Message-ID: <4c2aeb1f$0$15752$91cee783@newsreader04.highway.telekom.at>
NNTP-Posting-Host: 80.122.60.234
X-Trace: 1277881119 newsreader04.highway.telekom.at 15752 80.122.60.234:14127



"B Bauer" <b...@bauer1.com> schrieb im Newsbeitrag 
news:e6ba0a97-2f8d-4b2b-9b2a-b75058fb35b5@b35g2000yqi.googlegroups.com...
> Hello All,
>
> I'm currently working on a project that requires interfacing to a USB
> connected scale on the PC. The shipping application they're using runs
> in a 5250 CA window and they'd like to have the weight from the scale
> automatically populated to a field on the 5250 session. I'm planning
> on writing the scale interface in C# and run it as a service on the PC
> but I think the biggest challenge is getting the value into the 5250
> session.
>
> Another thing I was wondering is if I could configure the scale as an
> AS/400 device (Longshot) something like a CA printer session. Then I
> could just mod the RPG program to access the device.
>
> Has anyone had experience with doing something like this?
>
> -Brad

Hi Brad,

we have connected the scale as "alternate input" between the PC and the 
keyboard. So when we push the "get data"-button on the scale, we get the 
data as they were entered on the keyboard. So the only thing we had to do 
was to modify the input-field on the AS/400-Screen to the same format as the 
data from the scale are transmitted.
Before pushing the scale-button, the user has to start the right application 
an put the cursor on the right field.
That is the simpliest way, and no need to write interface-applications (if 
your scale support this way).

Good luck
-- Peter