chen wrote:
>
> Hi, Marty:
>I have a question for you about epics.
>In 3-12 epics tsDefs.h has TS_EPOCH_SEC_PAST_1970 constant defined.
> Now in 3-13 epics this constant is no longer defined.
> In my channel access service library for cdev, I have
> been adding this constant to the dbr_time_short (or like)
> value.stamp.nsec to obtain the time stamp value. In the 3-13 what
> do I have to do?
> #####################################################
> Jie Chen
> Thomas Jefferson National Accelerator Facility
> 12000, Jefferson Ave.
> Newport News, VA 23606
>
> (757)269-5046 (office) (757)269-5279 (fax)
> [email protected]
> #####################################################
The header file drvTS.h defines routines TSepochUnixToEpics and
TSepochEpicsToUnix.
There are also routines to convert to/from the Network Time Protocal
epoch.
I can see that these should really have been put into tsDefs.h but too
late now for beta12.
Marty Kraimer
- Navigate by Date:
- Prev:
Re: tsDefs.... Marty Kraimer
- Next:
Is CA thread-safe ? Brian McAllister
- 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:
D32BLT data transfers Ian Ferguson
- Next:
Is CA thread-safe ? Brian McAllister
- 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
|