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

Subject: RE: DXP ElapsedRealTime
From: Mark Rivers <[email protected]>
To: "'Hinko Kocevar'" <[email protected]>, Tech Talk <[email protected]>
Date: Tue, 22 Jan 2013 14:48:08 +0000
Hi Hinko,

> I was expecting that $(P)ElapsedRealTime would hold some other time 
> value - maybe cumulative for all MCA channels..

That PV holds the maximum elapsed real time for any channel.  The calculation is done at line 2821 in NDDxp.cpp:

           getDoubleParam(i, mcaElapsedRealTime, &realTime);
           realTime = MAX(realTime, dvalue);

> Also since the 16element_dxp.adl looks like a "top" level panel, for 
> controling 16 detector channels, why would we need to make a separate 
> instance of it (according to dxpDoc.html) for each detector channel?

It is a top-level panel and you don't need to make a separate instance of it for each detector channel.  I searched dxpDoc.html for the string 16element_dxp.adl and I don't see any mention of making separate instances of it.  Can you please send me the text that you are referring to?

Thanks,
Mark


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Hinko Kocevar
Sent: Tuesday, January 22, 2013 7:20 AM
To: Tech Talk
Subject: DXP ElapsedRealTime

Hi,

I'm trying to understand how the counting of Elapsed Real Time is done 
in the $(P)ElapsedRealTime record found in dxpHighLevel.template and 
seen on 16element_dxp.adl panel.

I can understand that each MCA record (seen in the mca_simple.adl) 
counts its own Elapsed real time in the .ERTM field.

I was expecting that $(P)ElapsedRealTime would hold some other time 
value - maybe cumulative for all MCA channels..

Also since the 16element_dxp.adl looks like a "top" level panel, for 
controling 16 detector channels, why would we need to make a separate 
instance of it (according to dxpDoc.html) for each detector channel?

Best regards,

--
Hinko Kocevar


Replies:
Re: DXP ElapsedRealTime Hinko Kocevar
References:
DXP ElapsedRealTime Hinko Kocevar

Navigate by Date:
Prev: DXP ElapsedRealTime Hinko Kocevar
Next: sequencer programs in an IOC James F Ross
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: DXP ElapsedRealTime Hinko Kocevar
Next: Re: DXP ElapsedRealTime Hinko Kocevar
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·