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
- Replies:
- Re: Regarding database links Pearson, Matthew R.
- References:
- Regarding database links Himanshu Tyagi
- Navigate by Date:
- Prev:
How to output arrary data in EPICS db? Silver
- Next:
Open multiple OPI Lucas Jose Monteiro Carvalho
- 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:
Regarding database links Himanshu Tyagi
- Next:
Re: Regarding database links Pearson, Matthew R.
- 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
|