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  <20152016  2017  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: question about process time of streamdevice
From: Silver <[email protected]>
To: tech-talk <[email protected]>
Date: Thu, 28 May 2015 00:35:50 +0800
hi, 

I want to use aSub record to implement some logic by modifying the myAsubProcess function in dbSubExample.c file.

My aSub record file is like this:

field(OUTA, "PS1:SETI CPP") 
field(NOVA,"1")
 
field(FTVA,"FLOAT")  
in myAsubProcess function, I can assign the value to OUTA field, for example:

*(float*)precord->vala= value_xxx

OUTA filed will drive a PV in streamdevice driver which communicate to a power supply through ethernet.

My question is: if I want to measure the time from the beginning of aSub record is processed to the end of the value is set to power supply correctly? (if the value is set correctly, the power supply will ack)

Thanks a lot for you help. 

 
 

Best wishes
Geyang 2015-05-28
 
 

Navigate by Date:
Prev: Re: Only integer value from CAEN VME protocol Eric Norum
Next: Re: Only integer value from CAEN VME protocol Christopher Wells Heidt
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Only integer value from CAEN VME protocol Christopher Wells Heidt
Next: SAES NEXTorr NIOPS-04 Vacuum Pump Power Supply John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·