tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: George Gallen <ggallen () slackinc ! com>
To: tru64-unix-managers
Subject: summary: Reading a scale's output via a terminal server using LAT
Date: Fri, 14 Dec 2001 19:13:59 +0000	[thread overview]
Message-ID: <102653644221716.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C184D3.7BD40200", Size: 9523 bytes --]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C184D3.7BD40200
Content-Type: text/plain;
	charset="iso-8859-1"

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@slackinc.com]
>Sent: Friday, December 14, 2001 12:05 PM
>To: 'tru64-unix-managers@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@slackinc.com
>ph:856.848.1000 Ext 220
>
>SLACK Incorporated - An innovative information, education and 
>management
>company
>http://www.slackinc.com
>

------_=_NextPart_001_01C184D3.7BD40200
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>summary: Reading a scale's output via a terminal server using =
LAT</TITLE>
</HEAD>
<BODY>

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

<P><FONT SIZE=3D2>The equipment I'm looking at is Equinox MDS-10</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www.equinox.com/product/mds_main.htm" =
TARGET=3D"_blank">http://www.equinox.com/product/mds_main.htm</A></FONT>=

</P>

<P><FONT SIZE=3D2>which can be accessed via sockets. The price isn't =
bad. For about $500</FONT>
<BR><FONT SIZE=3D2>we could setup (2) of these and a cheap switch to =
expand a single </FONT>
<BR><FONT SIZE=3D2>network hookup that is there now.</FONT>
</P>
<BR>
<BR>

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

</BODY>
</HTML>
------_=_NextPart_001_01C184D3.7BD40200--

                 reply	other threads:[~2001-12-14 19:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox