Just back froom vacation ...
> Can someone (Ned?) please point me at an example demonstrating timestamp
> manipulations in the sequencer? I am specifically interested in:
>
> 1) Using pvTimeStamp to get the time into a local variable.
I see Andy gave an example of this ...
>
> 2) VxWorks calls to calculate differences between times.
Look in /usr/local/epics/<RELEASE>/base/include/tsDefs.h for time
stamp utilities such as ...
TsAddStamps(pSum, pS1, pS2)
TsAddDouble(pSum, pS1, dbl)
TsDiffAsDouble(pDbl, pS1, pS2)
TsDiffAsStamp(pDiff, pS1, pS2)
TsCmpStampsEQ(pS1, pS2)
TsCmpStampsNE(pS1, pS2)
TsCmpStampsGT(pS1, pS2)
etc ...
Ned
- Navigate by Date:
- Prev:
Unsubscribe William C. Ross
- Next:
access to array elements William Lupton
- 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: Sequencer help; pvTimeStamp Andy Kozubal
- Next:
free_gdct for alpha5 Janet B. Anderson
- 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
|