Hi Steve,
> I need to accurately calculate the delay between the processing of two
> records. I can do this in a client program, via channel
> access but is it possible in a database, as TIME is "NOACCESS".
Are the two records on the same IOC? If yes, then perhaps a subroutine record on the same IOC with inpa and inpb being links to your two records would work? The subroutine would look something like:
include "dbAccess.h"
epicsTimeStamp timea, timeb;
dbGetTimeStamp(&psub->inpa, &timea);
dbGetTimeStatmp(&psub->inpb, &timeb);
psub->c = epicsTimeDiffInSeconds(&timea,&timeb);
Stephanie Allison
- Navigate by Date:
- Prev:
Time waits for ca-pend-event on Solaris/SPARC Gary P Carr
- Next:
Re: Linking question Guy Jennings
- 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:
TIME field Hunt Steven
- Next:
Time waits for ca-pend-event on Solaris/SPARC Gary P Carr
- 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
|