EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  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  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: asyn3-3 external access
From: "Mark Rivers" <[email protected]>
To: "Geoff Savage" <[email protected]>, "EPICS Tech-Talk" <[email protected]>
Date: Thu, 4 Nov 2004 09:28:12 -0600
Hi Geoff,

> Is it possible to access an asyn driver started from epics from an
> external application?  We need to serialize communication to a device
> and the hardware developers want to be able to use command line
routines
> for device access.  Any suggestions on how to handle this situation
are
> appreciated.

I am not sure if I understand your question.

By "external application" do you mean a channel access client?  By
"command line" do you mean the iocsh command line, or a channel access
command line client?

If you mean a channel access client then answer is yes for most drivers
and interfaces.  The way to do it is with the asynRecord.  In 3-3 the
asynRecord can control trace and connection management for any driver,
but it can only do I/O with asynOctet drivers.  In the next release the
asynRecord can do I/O to all of the standard interfaces except
asynInt32Array and asynFloat64Array.  It also supports "I/O Intr" record
scanning.

If you mean the iocsh command line then there are already commands
provided for doing I/O to asynOctet drivers.  You can easily add
commands for doing I/O to other interfaces using the asyn*SyncIO
interfaces.

Mark




Navigate by Date:
Prev: asyn3-3 external access Geoff Savage
Next: Querying PCAS Michele Joyce
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: asyn3-3 external access Geoff Savage
Next: Querying PCAS Michele Joyce
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
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 ·