EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: epics-3.14/seq2.0.2 on pc104 card running linux
From: "Arne P. Freyberger" <[email protected]>
To: epics tech talk <[email protected]>
Date: Fri, 31 May 2002 14:30:23 -0400
We've been playing around with the latest  epics base (3.14) and seq2.0.2 on a pc104 card running linux.    We've been having difficulty getting the sequencer to work.  At first we thought is was due to  some incompatibilities between the desktop linux machine that compiled the code and the pc104 card.   After many "printf" insertions into the code,  we found that sequencer was getting stuck in pthread_cond_timedwait.

Printing out the tv_sec and tv_nsec  elements of wakeTime  showed that we had the wrong date set on the pc104 and the tv_sec element was returned as a negative value from convertDoubletoWakeTime.

Correctly setting the date, fixed the problem......

Not sure what the moral is,  nor have I looked into convertDoubletoWakeTime to see if the code can be fixed to work with unreasonable "pre-epics-epoch" dates.

Make sure  your ioc's boot with the correct date........

Arne


Replies:
RE: epics-3.14/seq2.0.2 on pc104 card running linux Jeff Hill

Navigate by Date:
Prev: Re: serial driver Peregrine M. McGehee
Next: RE: epics-3.14/seq2.0.2 on pc104 card running linux Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  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: serial driver Peregrine M. McGehee
Next: RE: epics-3.14/seq2.0.2 on pc104 card running linux Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  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 ·