Hi,
There's also the DISP field, which will prevent a dbPutLink from changing a field. This can be useful if you don't want a field to change even when processing is disabled by using DISA/DISV.
Cheers,
Matt
On May 15, 2013, at 10:08 AM, Mark Rivers <[email protected]> wrote:
> You should be able to use the DISA and DISV fields to do what you want. Here is an example:
>
> record(longout, "$(P)$(R)FileNumber_write")
> {
> field(SDIS, "$(P)$(R)FileNumber_Sync.PACT")
> field(DISV, "1")
> field(DTYP, "asynInt32")
> field(OUT, "@asyn($(PORT),$(ADDR),$(TIMEOUT))FILE_NUMBER")
> }
>
> So the SDIS field is a link to a field in another record. Since DISV is 1 this means that this record will not process if $(P)$(R)FileNumber_Sync.PACT is 1.
>
> Mark
>
> ________________________________
> From: [email protected] [[email protected]] on behalf of Himanshu Tyagi [[email protected]]
> Sent: Wednesday, May 15, 2013 8:45 AM
> To: [email protected]
> Subject: Regarding database links
>
>
> Hi,
>
>
> Can anyone guide me on enabling and disabling of epics Records. I want to use one PV whose value should control the processing of a second PV.
> I know that there are certain epics field like DISA,DISV which can can be used to control the record processing but I am unable to use these.
> Also i don;t know how the commands of dbPutLink are executed. THough it is very basic can any one help me on this part.
>
> Thanks
> Himanshu
>
- References:
- Regarding database links Himanshu Tyagi
- RE: Regarding database links Mark Rivers
- Navigate by Date:
- Prev:
Open multiple OPI Lucas Jose Monteiro Carvalho
- Next:
Re: Open multiple OPI Hugo Slepicka
- 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:
RE: Regarding database links Mark Rivers
- Next:
How to output arrary data in EPICS db? Silver
- 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
|