EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: genSub tutorial needed
From: Dennis Nicklaus <[email protected]>
To: [email protected]
Date: Fri, 17 Feb 2006 16:55:31 -0600
Can someone please give me a step-by-step explanation of how to use
the genSub records? I've read the record reference manual entry for them and
I still don't get it.
Here's what I want to do: 1. Have a function which would create two arrays, I and Q, of N points each, using several input parameters (values of other PVs) whenever any of the other PVs is set.
2. Copy these 2 arrays out to two separate VME memory address locations
(I'm copying an array to an array of addresses, not each-element-in-the-array-to-the-same-address as in a FIFO).
3. Process other records as with an FLNK link.


This sounds simple enough, but it is beyond my meager EPICS knowledge.
Thanks!
Dennis




Replies:
Re: genSub tutorial needed Tim Mooney

Navigate by Date:
Prev: RE: segmentation fault in ca_task_initialize running in Linux Jeff Hill
Next: RE: segmentation fault in ca_task_initialize running in Linux Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: CA Port numbers now official Kay-Uwe Kasemir
Next: Re: genSub tutorial needed Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·