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  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Get/Set Local Variable in motorAxis From sub Record
From: William Cork via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 8 Jul 2020 02:06:54 -0700
Hi All,

I'm trying to find the best solution to interlock motion from multiple other records. My current thinking is to link the VALs of these records to a sub record and have the C function modify a variable within the motor driver.

The issue I have is that I cannot find a way to link the instance of the drive I would like to have access to in the sub record process function. Is there a way to pass a reference of a controller instance to a subroutine process function?

Is there a simpler solution to this? Could the result of the sub record be linked to a field in the motor record to prevent motion?

Thank you,
Will

Replies:
RE: Get/Set Local Variable in motorAxis From sub Record Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Re: Epics iocInit() fandayu--- via Tech-talk
Next: Fw: Re: Epics iocInit() fandayu--- 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to resolve CA beacon routing error messages when rebooting IOC is not helping Hu, Yong via Tech-talk
Next: RE: Get/Set Local Variable in motorAxis From sub Record Mark Rivers 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  <20202021  2022  2023  2024 
ANJ, 08 Jul 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·