summary: Reading a scale's output via a terminal server using LAT

From: George Gallen <ggallen_at_slackinc.com>
Date: Fri, 14 Dec 2001 14:13:59 -0500

The only suggestion I received was to use ckermit for the connection.
which sounds like it could work vs writing my own. But for flexibility
on my end, I'd probably be better off with a customized linkup. Thanks
to Anthony Talltree for the suggestion of using kermit (that forgotten
about program that seems to come back as the solution to a few of my
problems...:) )

The equipment I'm looking at is Equinox MDS-10
http://www.equinox.com/product/mds_main.htm

which can be accessed via sockets. The price isn't bad. For about $500
we could setup (2) of these and a cheap switch to expand a single
network hookup that is there now.



>-----Original Message-----
>From: George Gallen [mailto:ggallen_at_slackinc.com]
>Sent: Friday, December 14, 2001 12:05 PM
>To: 'tru64-unix-managers_at_ornl.gov'
>Subject: Reading a scale's output via a terminal server using LAT
>
>
>We have an old postal scale that I think sends serially (that I'll have
>to play with locally to find out just what is coming out of the D9 plug
>on the end. I'm hoping it's ASCII, and not just a bit, that has to be
>read bit by bit and combined into a number...but that's not my
>question).
>
>Once I bind the terminal server's port to a tty process (LATCP), am I
>able to read and write to that port? I know I can r/w with a
>getty process
>(a terminal), and we have printers set up (for output only).
>
>Unfortunatly, I don't have the equipment setup right now, so I
>can't really
>test anything.
>
>I would be setting the ttyxx port in /etc/inittab to off, so
>getty won't
>fire
>if anything comes through.
>
>What I wanted to do was write a small PERL script that basically would
>check the port for input, and if found, append it to a file
>(or possibly
>write
>it to a pipe), and as well, check for contents in a file (or
>another pipe)
>and
>write it to the port.
>
>Does the above sound pretty much on target?
>
>Right now it will be setup on T64 with a DS700.
>
>
>NOW for the bigger question:
>
>We will probably be upgrading our system next year (I really
>hope so, as we
>are still on 3.2c), but we will be ditching the terminal
>servers, since we
>don't
>need them as we don't have any more serial input/output needs, with the
>now exception of the above.
>
>How would we setup (or need) to read/write serially to a
>network, that can
>be read/written remotely? We were originally going to put the
>DS700 remotely
>and link it via LAT with ethernet.
>
>Are there any inexpensive devices that we could setup with
>sockets instead?
>I know the rapidprint 2000 will allow us to hook up a serial
>and paralell
>via a
>network, but can it be used to send the data back? because we
>do have a
>spare rapidprint?
>
>Thanks
>George
>
>George Gallen
>Senior Programmer/Analyst
>Accounting/Data Division
>ggallen_at_slackinc.com
>ph:856.848.1000 Ext 220
>
>SLACK Incorporated - An innovative information, education and
>management
>company
>http://www.slackinc.com
>
Received on Fri Dec 14 2001 - 19:14:58 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT