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  2020  <20212022  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  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Using CALC value to set NELM in subArray
From: "Wang, Andrew via Tech-talk" <tech-talk at aps.anl.gov>
To: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 1 Jul 2021 02:01:54 +0000

Quick question,

 

I want to use a calc record to determine what I want my NELM in a subArray record to be. I keep getting an error saying that there are no digits to convert. I feel like the problem is because the NELM field is ULONG, while the VAL field of the calc record is a DOUBLE. Don’t think it is possible to “cast” the DOUBLE to a ULONG in the calc record, unless I am wrong. Is there a way around this or is the best approach to use an aSub record?

 

Thanks,

Andy


Replies:
Re: Using CALC value to set NELM in subArray Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Re: EPICS interface for Edwards nXDS scroll pump Florian Feldbauer via Tech-talk
Next: Accessing the "opi_file" property of the Linking Container 工藤真由子 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS interface for Edwards nXDS scroll pump Florian Feldbauer via Tech-talk
Next: Re: Using CALC value to set NELM in subArray Johnson, Andrew N. 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  <20212022  2023  2024 
ANJ, 01 Jul 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·