EPICS Home

Experimental Physics and Industrial Control System


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

Subject: FLNK doesn't process
From: Randall Cayford via Tech-talk <tech-talk at aps.anl.gov>
To: "Gofron, Kazimierz via Tech-talk" <tech-talk at aps.anl.gov>
Date: Fri, 14 Jan 2022 12:18:34 -0800
I have a periodic scanned PV which I occasionally set.  However, when I set it, I can’t read the updated value until the periodic scan happens.  I would like the PV value to update as soon as it’s set.  I thought that was what was supposed to happen with FLNK but it doesn’t seem to.

My db has:
record (ai, "$(P):current1")
{
    field (DTYP, "stream")
    field (INP, "@thorlab.proto getcurrentch(1) $(BUS)")
    field (SCAN, "10 second")  
}

record (ao, "$(P):setcurrent1")
{
    field (DTYP, "stream")
    field (OUT, "@thorlab.proto setcurrentch(1) $(BUS)")
    field (FLNK, "$(P):current1.PROC")
    field (SCAN, "Passive")
}

"caput setcurrent1 10" works but it takes whatever is left of the 10 second scan period before current1 changes.
“caput current1.PROC 1” immediately updates the value in current1.

I tried     field (FLNK, "$(P):current1”) but that doesn’t process either.

What’s the trick for getting a periodic scan PV to process within a forward link?  Or is there some other way I’m supposed to do this?

Thanks.

Randall
LBNL



Replies:
Re: FLNK doesn't process Hu, Yong via Tech-talk

Navigate by Date:
Prev: Re: Sequencer - Compiling multiple source files together Ralph Lange via Tech-talk
Next: Re: FLNK doesn't process Hu, Yong via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Re: Sequencer - Compiling multiple source files together Ralph Lange via Tech-talk
Next: Re: FLNK doesn't process Hu, Yong via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024