Subject: |
Re: Recommended practice for cvtRecord chain initialization |
From: |
Benjamin Franksen <[email protected]> |
To: |
EPICS mailing list <[email protected]> |
Date: |
Fri, 14 Mar 2014 14:05:45 +0100 |
Hi Emmanuel
On Thursday, March 13, 2014 15:58:44 Emmanuel Mayssat wrote:
> I have a recordAO (let's say a phase in deg) that is converted through
> a cvtRecord (~ breakpoint table) to a voltageAO. We could assume that
> the voltage on the device doesn't change while the IOC is off and
> autosave everything.
>
> But... in this particular case, where the hardware 'remembers' its
> voltage setting (EEPROM or hardware stays on while IOC is off), the
> chain above should be executed in the opposite direction at iocInit.
> A possible way is to have another cvt record with the same
> "breakpoint" table but with "1D table reversed" method and PINI=1. Is
> this the recommended way?
I did not have this problem in practice yet, but yes, this is how I
would do it. You might need some additional record logic that disables
the readback and reverse-conversion after the first (PINI) processing.
You might also want to disable processing in the forward direction
during the readback (this might be necessary if setting a value to the
device has other side effects that you want to avoid).
Cheers
Ben
--
"Make it so they have to reboot after every typo." ― Scott Adams
Attachment:
signature.asc
Description: This is a digitally signed message part.
- Replies:
- RE: Recommended practice for cvtRecord chain initialization Emmanuel Mayssat
- References:
- Recommended practice for cvtRecord chain initialization Emmanuel Mayssat
- Navigate by Date:
- Prev:
Recommended practice for cvtRecord chain initialization Emmanuel Mayssat
- Next:
Re: Installing EPICS on the Raspberry Pi Pete Jemian
- 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
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Recommended practice for cvtRecord chain initialization Emmanuel Mayssat
- Next:
RE: Recommended practice for cvtRecord chain initialization Emmanuel Mayssat
- 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
2021
2022
2023
2024
|