Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Scale Interface

229 views
Skip to first unread message

B Bauer

unread,
Jun 29, 2010, 12:45:53 PM6/29/10
to
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

Peter Zich

unread,
Jun 30, 2010, 2:58:43 AM6/30/10
to

"B Bauer" <br...@bauer1.com> schrieb im Newsbeitrag
news:e6ba0a97-2f8d-4b2b...@b35g2000yqi.googlegroups.com...

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


BB

unread,
Jul 1, 2010, 11:21:29 AM7/1/10
to

You can use a keyboard wedge connected to the scale but you'll have to
use RS-232 instead of USB.
The type of scale is a big factor. I'm currently working on automating
sending a weight from a Avery Weightronix E1110 to a Compsee Turbo
wedge which feeds a 5250 session on a Computer Lab thin client. I'm
99% done. Through the "'autoprint" function on the scale, it sends
the weight with a CR /LF appended to it when the target weight is
reached, so no operator intervention is required.

We have a similar process working on Doran scales connected to
keyboard wedges and thin clients on ten final assembly lines.

Bryan Burns

Dr.Ugo Gagliardelli

unread,
Jul 1, 2010, 9:09:00 PM7/1/10
to
il 29.06.2010 18.45, Scrive B Bauer 42403872:

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

You can use a dataqueue where the scale interface will put the weight
and the 5250 program will get it.

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

You can configure an ascii device on a RS232 port, as400 do not support USB.
Or you can work with the scale inside a SPECIAL device file handling
program.

eb

unread,
Jul 13, 2010, 3:49:58 PM7/13/10
to
http://www.billproduction.com

Here is an inexpensive $35 program.

Load it on the PC and it will sit and listen for the scales to send
the weight, then it send the information to the keyboard buffer. They
also have a version to listen for TCP/IP data.

Assuming the cursor is always in the input field on the screen it
works fine.

On Jun 29, 12:45 pm, B Bauer <b...@bauer1.com> wrote:

Dawna Pennington

unread,
Oct 30, 2012, 5:05:33 PM10/30/12
to
On Tuesday, June 29, 2010 12:45:53 PM UTC-4, B Bauer wrote:
> 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

tweed...@gmail.com

unread,
Mar 26, 2013, 3:39:15 PM3/26/13
to
Hey - I was wondering if you if you ever got a response to your question about scale to pc onto the 5250 session. We are working on the exact same project. We come across the wedge option and varsity speedweigh.
0 new messages