EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  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  Index 1994  1995  <19961997  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 
<== Date ==> <== Thread ==>

Subject: Re: Sequencer help; pvTimeStamp
From: [email protected] (Ned Arnold)
To: [email protected]
Cc: [email protected]
Date: Mon, 5 Aug 1996 09:57:39 -0500
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  <19961997  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  <19961997  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, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·