Experimental Physics and Industrial Control System
|
I've got a couple places I've needed to do that with aSub, what's worked for me is having the C record processing code (the function specified in SNAM) return an error (-1) rather than success (0). Then none of the output links are processed.
On 1/13/2016 5:55 PM, Lingyun Yang wrote:
Hi,
I am writing a aSub routine to do some multiinput-multioutput data analysis.
In some cases, I do not want to update the output links. e.g. let those
OUTA-OUTU PVs values untouched.
If I do not do anything to the prec->vala to prec->valu, the corresponding PVs still get updated, but with some default values, e.g. 0.0 for DOUBLE.
I also tried to set effective length (e.g. set neva=0), but it did not work for an ao record.
Is there anyway skip updating any/some of the output PVs in the aSub routine ?
Thanks.
Best regards,
Lingyun
--
John A. Priller | Phone : (517) 908-7375
MSU Cyclotron Laboratory | Email : [email protected]
640 S. Shaw Lane room 4220Z | Web : http://people.nscl.msu.edu/~priller/
East Lansing, MI 48824 |
|
- Navigate by Date:
- Prev:
Galil Motor Tutorial? Mark Clift
- Next:
Re: Device Support for I2C and GPIO Florian Feldbauer
- 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: Skip updating an output link in aSub ? Kasemir, Kay
- Next:
Re:problems solved about EPICS V4 4.5.0 compiling Qiao Yusi
- 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
|
ANJ, 15 Jul 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|