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  <20182019  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  <20182019 
<== Date ==> <== Thread ==>

Subject: SubArray to ai record
From: Amien Crombie <acrombie@tlabs.ac.za>
To: EPICS Tech-Talk <tech-talk@aps.anl.gov>
Date: Fri, 16 Mar 2018 16:19:14 +0200

Hi

I have a subarray record that looks like this:

record(subArray,  "$(dev):$(channame)") {
     field(SCAN,  ".1 second")
     field(FTVL,  "FLOAT")
     field(DTYP,  "Soft Channel")
     field(INP,   "$(dev):xcur")  ## INP comes from a waveform of 8 floats
     field(NELM,  "1")
     field(MALM,  "8")
     field(INDX,  "$(chan)")   ## chan macro starts at 0

     field(FLNK,  "$(dev):mychan$(INDX)")
 }

record(ai,        "$(dev):mychann$(chan)")        {
     field(DTYP,   "Soft Channel")
       

}

This is possibly not the right way to do it. Is there a better way?

thanks



Replies:
Re: SubArray to ai record Andrew Johnson

Navigate by Date:
Prev: Re: Controling a slit system with 2 hard and 4 soft motorrs Pearson, Matthew R.
Next: Re: SubArray to ai record Andrew Johnson
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  <20182019 
Navigate by Thread:
Prev: Re: Asyn - max addresses per port Eric Norum
Next: Re: SubArray to ai record Andrew Johnson
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  <20182019 
ANJ, 16 Mar 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·