Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: RE: MV167 serial port
From: ahoney@keck.hawaii.edu (Allan Honey)
Date: Mon, 10 May 1999 08:08:29 -1000
> From johill@lanl.gov Mon May 10 06:01:58 1999
> Subject: RE: MV167 serial port 
> Date: Mon, 10 May 1999 09:49:38 -0600
> Organization: LANL> 
> 
> 
> On Monday, May 10, 1999 10:13 AM, Philip Taylor [SMTP:pbt@observatorysciences.co.uk] wrote:
> > Is it possible to use the serial port(s) on an MV167 directly
> > from EPICS? 
> 
> Yes
> 
> > I can see there's an EPICS driver called drvSerial
> > at Keck - is this, or something else, suitable?
> > 
> 
> The drvSerial code uses the C STDIO library to communicate
> so it works with any serial device that has a vxWorks
> serial device driver. This code provides only queuing
> and framing services. Allen Honey at Keck has a driver which
> is layered on drvSerial which can be configured to communicate
> with serial devices that communicate over simple command line 
> ASCII based protocols. There are also a number of drivers for
> specific devices which use drvSerial.
> 
> Jeff
> 

In regards to drvAscci, the main thing to keep in mind is that, 
drvAscii assumes that the remote end will not send asynchronous data, 
that is, all data is prompted for from records on the Epics side.

You can get the source and a toy database (which will work if you
loopback rx and tx on your serial port) at Keck.

ftp to ftp.keck.hawaii.edu login as anonymous

cd /pub/epics/drivers

cd /drvAscii
ls
        drvAscii.README
        drvAscii.c
        drvAscii.h
        drvAscii.sch
        devAscii.c
        drvAscii.dbd


You will need drvSerial, upon which drvAscii is layered.
drvSerial was written for Keck by Jeff Hill. You should contact 
Jeff as I have an older version of drvSerial.

I'm happy to help if you have difficulties.

Allan


Navigate by Date:
Prev: Re: gpib device Maren Purves
Next: 14 or 16 bit IO boards Garrett D. Rinehart
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: MV167 serial port Philip Taylor
Next: EPICS Channel Access Michael J. Feldhake
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·