EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: [Fwd: Re: stream without asynPort]
From: Eric Norum <[email protected]>
To: Dirk Zimoch <[email protected]>, Emmanuel Mayssat <[email protected]>
Cc: EPICS <[email protected]>
Date: Mon, 21 Feb 2011 09:45:52 -0800
I wrote a simply asynOctet driver to do this.  I've not yet packaged this up for official release until I hear back from the folks testing this.
I'm not 100% sure that it's a good idea to allow commands to be run as the result of record processing, but maybe there's a real need out there.

On Feb 21, 2011, at 1:03 AM, Dirk Zimoch wrote:


From: Dirk Zimoch <[email protected]>
Date: February 21, 2011 1:02:31 AM PST
Subject: Re: stream without asynPort


Hi Emmanual,

By design, a StreamDevice record needs to connect to a "bus". At the moment, I only support asynDriver as a bus system. For your application, you don't need it. Thus a "dummy" bus driver would do. I already have a "debug" bus driver that simply prints what function is called. From this is should be easy to write a "dummy" driver. I will try.

Dirk



[email protected] wrote:
Hello,
I am tryign to use a feature I have seen in stream protocols.
I would like to call iocsh function from a process variable.
ex: when a bo record is set to 1, I would like to execute 'dbl' in the iocsh.
Q: is it possible to use stream without instanciating a asynPort ?
Q: is there another SIMPLE way to do this other than with stream ?
Q: apropos is it possible in stream to pass the value of the PV in exec lines?
  ex: exec "dbpr mbboPV <valueOfMbboPV>" ;
Thanks,





-- 
Eric Norum
[email protected]





Replies:
Re: [Fwd: Re: stream without asynPort] Ralph Lange
References:
[Fwd: Re: stream without asynPort] Dirk Zimoch

Navigate by Date:
Prev: Re: Make target_arch only ... doesn't seem to work on 3.14.11 emmanuel_mayssat
Next: Re: [Fwd: Re: stream without asynPort] Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: [Fwd: Re: stream without asynPort] Dirk Zimoch
Next: Re: [Fwd: Re: stream without asynPort] Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·