EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Asyn, asyn, and more asyn interpose interfaces
From: "Mark Rivers" <[email protected]>
To: "Emmanuel Mayssat" <[email protected]>, <[email protected]>
Date: Thu, 26 Jul 2007 15:24:31 -0500
There are many drivers in the synApps package

http://www.aps.anl.gov/aod/bcda/synApps/index.php

The ip330, dac128V and ipUnidig modules are asyn drivers for Industry
Pack modules.  The mca and dxp modules also have asyn drivers.

asyn interpose is used to put an layer between the client and the asyn
driver.  Modbus is a good example.  It uses the underlying asynOctet
driver (drvAsynSerialPort or drvAsynIPPort).  The upper level Modbus
driver builds device-independent Modbus packets.  asynInterpose is used
to add the hardware dependent headers for TCP/IP, serial RTU or serial
ASCII.

Mark


> -----Original Message-----
> From: Emmanuel Mayssat [mailto:[email protected]] 
> Sent: Thursday, July 26, 2007 2:06 PM
> To: [email protected]; Mark Rivers
> Subject: Asyn, asyn, and more asyn interpose interfaces
> 
> Hello all,
> 
> I am finally moving to asyn ;-)
> I was wondering if there is a repository of asyn drivers that can be
> found on the net. Any URL pointer?
> 
> Based on the modbus asyn driver already posted on tech-talk 
> and the asyn
> sources, I have started writing my own. I am currently working on one
> for a radiation detector.
> 
> But here are some questions:
> 
> What are interpose interfaces? Could you give a simple example?
> 
> One of my asyn drivers is used to communicate with a serial device
> (kudos to Jinhu Song for writing it). That serial device is 
> powered over
> the serial cable. So making it work requires some ioctl (to raise DTR
> wire ). Now I would like to use an ethernet to serial converter. That
> converter doesn't get the ioctl of course, but those commands needs to
> be turned into telnet command. Obviously the required telnet commands
> are function of the SoE converter.
> Should I use an interpose interface to convert the ioctls into telnet
> commands?
> 
> -- 
> Emmanuel Mayssat <[email protected]>
> 
> 


References:
Asyn, asyn, and more asyn interpose interfaces Emmanuel Mayssat

Navigate by Date:
Prev: Asyn, asyn, and more asyn interpose interfaces Emmanuel Mayssat
Next: stream/asyn devices Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Asyn, asyn, and more asyn interpose interfaces Emmanuel Mayssat
Next: stream/asyn devices Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·