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

Subject: RE: Breakpoint tables: Raw value must be integer?!?
From: Emmanuel Mayssat <[email protected]>
To: "Allison, Stephanie" <[email protected]>, EPICS mailing list <[email protected]>
Date: Mon, 25 Nov 2013 15:52:50 -0800


> From: [email protected]
> To: [email protected]; [email protected]
> Date: Fri, 22 Nov 2013 17:08:02 -0800
> Subject: RE: Breakpoint tables: Raw value must be integer?!?
[...]
> /*
> * Inputs:
> * A = Gap (mm)
> * D = Breakpoint Table Index (index in menuConvert.dbd)
> * Outputs:
> * H = Value from the Breakpoint Table
> * J = Previous Breakpoint Table Index
> * DPVT = Pointer to Breakpoint Table
> * L = Last Breakpoint
> * VAL = Magnetic Field (T)
> */

I wouldn't mind looking at the sample db file that goes with your code.
Is there a way to convert the STRING in the menu convert to its integer?
Hopefully yes.
I would much prefer to be able to link the asub record entry to the name of the table.
Then the debugging of an IOC is trivial.

The issue with the CALC solution is that the work around requires to modify the table itself
(i.e multiply by 1000 the raw values). You cannot use this method if the data is auto-generated from real samples.
(i.e. calibration table)

Obviously if I am nit picking is because I am talking about a large scale deployment of breakpoint tables in my IOCs, not just for one record.

Again, is there a way to convert a STRING in a asub parameter to its corresponding menuConvert integer?

Regards,
--
E


References:
Breakpoint tables: Raw value must be integer?!? Emmanuel Mayssat
RE: Breakpoint tables: Raw value must be integer?!? Allison, Stephanie

Navigate by Date:
Prev: RE: Breakpoint tables: Raw value must be integer?!? Emmanuel Mayssat
Next: RE: Anyone using StreamDevice with local serial ports on Windows? Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Breakpoint tables: Raw value must be integer?!? Allison, Stephanie
Next: RE: Breakpoint tables: Raw value must be integer?!? Steiner, Mathias
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·