Running AREV 2.12.
Have an application that I need to read scale date
using the serial port on the P/C.
Has anyone done this?
Thanks in advance.
I wrote something a few years ago using Arev 3.? that I migrated
from Revg2b & Arev 1.16. The comm port was tied to an electronic
scale that fed data to the Arev app.
I'll try to dig up the code, its somewhere one one of the Pc's
around here.
If you have more details that would be helpful
Richard -
Application is used at an Aggregrate plant where trucks loaded with material are weighed. The scale has a digital read out but also a standard RS232 connection that will send the weight to a serial port of a P/C.
I found some of the old prgms. they used V124 function within
arev. We also were weighing packages (UPS size however). You may
want to take a look at the documentation on V124.
I'll be out the rest of the day but should be able to
provide some sample prgms tomorrow.
Also you might want to start looking at the pin out of
the db25 or db9 connectors, I remember having to jumper
some of the pins
Also you can start to communicate with the scale
by using any communications software (procomm/hyperterm/etc)
to see what type of response you get from the scale when
typing on the keyboard.
Also, If I remember correctly v124 only liked com1 & 2
I could be wrong on this, its been a long time
Ken, I found those two programs which controlled a scale using
v124. why dont you send be your email address, Im not sure
everyone else here would be interested in a couple hundred
lines of code
Richard - Email Address is [email protected]
Would appreciate any type of information.
Thanks
Hello,
We here use serial input for both a scale, and to capture all phone calls made through our Merlin Legend Phone system, using V124.Just a tidbit, be forwarned, most load cell and digital display combos send alot of extra info to the PC, Use A robust filtering routine, if you need an example, i can send you one.
Kevin Kastelic
Network Administrator / Database Programmer
Sharp Packaging Systems
email: [email protected]
One of the Developer's Series disks had some information on running V124 off other serial ports.
Send me your e-mail, and I send ASM source for reading/writing any serial port (I compile one for each serial, but you could call with an argument; it's just slower). BTW, did you need to set BAUD rate, parity, etc?
Larry Wilson
TARDIS Systems, Inc.
http://members.tripod.com/rehabsw (new site, but old is still good)