Message from discussion Scale Interface
From: "Peter Zich" <p.z...@aon.at>
Subject: Re: Scale Interface
Date: Wed, 30 Jun 2010 08:58:43 +0200
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931
X-Trace: 1277881119 newsreader04.highway.telekom.at 15752 22.214.171.124:14127
"B Bauer" <b...@bauer1.com> schrieb im Newsbeitrag
> 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
> 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?
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).