Yes, the device support for the mbbo record should do an initial read of
the device to get the value when the IOC boots.
You can see an example in the generic asyn device support for the mbbo
record in asyn/devEpics/devAsynInt32.c
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Szalata, Zenon M.
> Sent: Friday, October 19, 2007 5:24 PM
> To: EPICS tech-talk
> Subject: Initial Value
>
> An Agilent 33220A Wave Form Generator is attached to ICS8065
> Ethernet-GPIB controller. I am designing a soft IOC using
> EPICS 3.14.9 and asyn 4-8. I have setup mbbo type record to
> control the instrument function, which can have one of 7
> values. In edm I have a choice button connected to this
> record. I can chose the function by clicking on one of the
> choices. When the instrument is in a function which
> corresponds to any but the first choice and the IOC is
> restarted, the record comes up with some initial values
> consistent with the first choice. Hence, the instrument and
> the IOC disagree on the function.
> Is there a simple way to initialize the mbbo record when the
> IOC is starting up so that it reflects the function selected
> in the instrument? Thanks,
> Zen
>
>
- Replies:
- RE: Initial Value Szalata, Zenon M.
- References:
- Initial Value Szalata, Zenon M.
- Navigate by Date:
- Prev:
Initial Value Szalata, Zenon M.
- Next:
RE: Initial Value Szalata, Zenon M.
- 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:
Initial Value Szalata, Zenon M.
- Next:
RE: Initial Value Szalata, Zenon M.
- 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
|