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  <20102011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: epicsTimer
From: "Szalata, Zenon M." <zms@slac.stanford.edu>
To: TECHTALK Tech-Talk <tech-talk@aps.anl.gov>
Date: Thu, 3 Jun 2010 13:15:15 -0700
I have a VME system, which is external trigger driven.  I wrote a device driver for one of the modules in the VME crate.  The device driver is so far OSI.  I am using EPICS R3.14.11 and vxWorks 6.6.

In my device driver, I need to execute a command a few hundred of micro seconds after the trigger.  The device driver responds to the trigger, by queuing a call back routine.  I would like to setup in the trigger handling call back routine another call back routine to be called a few hundred microseconds later.  I don't want to call vxWorks routines directly.  Looking through "EPICS: Input/Output Controller Application Developer's Guide", it seems to me that epicsTimer is a good candidate.  Unfortunately, as it is for me, this guide is very good once I know what I am doing.  Since I have not used epicsTimer before, the description in the guide is not explicit enough to be useful.

I would greatly appreciate if someone sent me an example of how to accomplish my goal in a device driver written in C.

Thank you,
Zen


Replies:
Re: epicsTimer Eric Norum

Navigate by Date:
Prev: Medipix2 detector matthew.pearson
Next: Re: epicsTimer Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Medipix2 detector matthew.pearson
Next: Re: epicsTimer Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·