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