EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: PV with TSE=-2 and SCAN=I/O Intr returns <undefined> time.
From: Mark Rivers <[email protected]>
To: Enrique Bernal <[email protected]>, "[email protected]" <[email protected]>
Date: Mon, 29 Feb 2016 14:57:13 +0000
Hi Enrique,

Is your driver written using asynPortDriver or using native asynManager calls?

If you are using asynPortDriver then is your driver calling asynPortDriver::updateTimeStamp each time you want to update the timestamp?

If you are using native asynManager calls then is your driver calling pasynManager->updateTimeStamp and pasynManager->getTimeStamp each time you want to update and set the timestamp?

You can find examples of using it in the following asyn files:
asyn/testErrrorsApp/src/testErrors.cpp
testAsynPortDriverApp/src/testAsynPortDriver.cpp

There are also examples in all of the areaDetector drivers, for example:

areaDetector/ADExample/exampleApp/simDetectorSrc/simDetector.cpp:

Mark

________________________________
From: [email protected] [[email protected]] on behalf of Enrique Bernal [[email protected]]
Sent: Monday, February 29, 2016 8:27 AM
To: [email protected]
Subject: PV with TSE=-2 and SCAN=I/O Intr returns <undefined> time.

Dear all,
I am working with asynR4-27 on a Linux machine. I have followed the Support for EPICS Time Stamps in asyn (<http://www.aps.anl.gov/epics/modules/soft/asyn/R4-27/AsynTimeStampSupport.pdf>http://www.aps.anl.gov/epics/modules/soft/asyn/R4-27/AsynTimeStampSupport.pdf) but I am still having some troubles.
When I camonitor a PV with TSE=-2 and SCAN=I/O Intr the time obtained is <undefined>, but if I camonitor the same PV with TSE=0 and I/O Intr everything is ok.
I have registered myTimeStampSource with: asynRegisterTimeStampSource(const char *portName, const char *functionName). This is correct, it does not show any error at IOC initialization.
I have coded myTimeStampSource with some printf which are never printed, so maybe it is never being called.
I have registered this function with: epicsRegisterFunction(myTimeStampSource) and added in dbd file, the line: function(“myTimeStampSource”)
Any advice would be highly appreciated.
Thanks in advance.
Enrique Bernal.


Replies:
Re: PV with TSE=-2 and SCAN=I/O Intr returns <undefined> time. Enrique Bernal
References:
PV with TSE=-2 and SCAN=I/O Intr returns <undefined> time. Enrique Bernal

Navigate by Date:
Prev: Re: Questions regarding PV access within CSS Kasemir, Kay
Next: Re: Questions regarding PV access within CSS Abdalla Al-Dalleh
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: PV with TSE=-2 and SCAN=I/O Intr returns <undefined> time. Enrique Bernal
Next: Re: PV with TSE=-2 and SCAN=I/O Intr returns <undefined> time. Enrique Bernal
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·