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

Subject: RE: record processing time
From: Mark Rivers <[email protected]>
To: "'[email protected]'" <[email protected]>
Cc: techtalk <[email protected]>
Date: Fri, 14 Feb 2014 16:52:47 +0000

> The recored  TEST:OUT0-O is connected to hardware all output records are not synchronous. 

 

Are you sure they are not synchronous?  What flags did you use in your asyn driver when calling pasynManager->registerPort?  Are you using asynPortDriver base class?

 

> Hardware also having no delay.

 

What do you mean by that?  How have you measured it?

 

> is dfanout record execute each link one by one or all simultaneously?

 

It processes one link at a time.  How could it do them simultaneously?

 

Mark

 

 

 

From: [email protected] [mailto:[email protected]]
Sent: Friday, February 14, 2014 10:31 AM
To: Mark Rivers
Cc: techtalk
Subject: Re: record processing time

 

 

The recored  TEST:OUT0-O is connected to hardware all output records are not synchronous. 

I am using asynDriver. and all these records have same asyn intereface as they are similar.

Hardware also having no delay.

 

is dfanout record execute each link one by one or all simultaneously?

 

Thank you

 

Vishnu




From: Mark Rivers <[email protected]>
Sent: Fri, 14 Feb 2014 20:44:44
To: "'[email protected]'" <[email protected]>
Cc: techtalk <[email protected]>
Subject: Re: record processing time

Hi Vishnu,

 

Please tell us about your output records, TEST:OUT0-O, etc.  Are they connected to hardware?  If so, is the device support synchronous or asynchronous, and what driver are you using?  If they are connected to hardware and the device support is synchronous, then 50 microseconds may just be the time it takes the driver to do the I/O.  If the records are not connected to hardware then how did you measure the 50 microseconds?

 

Mark

 

 

From: [email protected] [mailto:[email protected]]
Sent: Friday, February 14, 2014 8:37 AM
To: Mark Rivers
Cc: techtalk
Subject: Re: record processing time

 

Hi,

   In my application i am putting value on 4 output port lines simultaneously with dfanout record.   

record (dfanout,"TEST:EVENT1-FOUT")

{

        field(DESC, "stop all event simaltanously")

        field(DOL, "TEST:WAIT-EVENT")

        field(HOPR, "1")

        field(LOPR, "0")

        field(OMSL, "closed_loop")

        field(OUTA, "TEST:OUT0-O PP")

        field(OUTB, "TEST:OUT1-O PP")

        field(OUTC, "TEST:OUT2-O PP")

        field(OUTD, "TEST:OUT3-O PP")

}

 

 

 

  "TEST:OUT0-O,    TEST:OUT1-O,   TEST:OUT2-O, and TEST:OUT3-O  are 4 output record putting the values on output port lines. 

 

The TEST:WAIT-EVENT is the taking value from User interface. 0 or 1.

 

 

I observed the delay between each output is approximately 50 micro second. so total delay from first to last PV is ~200 micro second.

The OS running the IOC is RHEL.

 

 

I would like to know this delay time is normal in EPICS or i can even get better with some mechanism. 

 

 

Thank you

 


From: Mark Rivers <[email protected]>
Sent: Wed, 12 Feb 2014 20:39:16
To: Vishnu Patel <[email protected]>, "techtalk " <[email protected]>
Subject: Re: record processing time
The processing time depends of course on the record type and the CPU you are using.  But it is typically on the order of a few microseconds.
________________________________
From: [email protected] [[email protected]] on behalf of Vishnu Patel [[email protected]]
Sent: Wednesday, February 12, 2014 8:16 AM
To: techtalk
Subject: record processing time

Hi,
  I would like to know about time required for record processing.
In my application
When PV1 becomes 1  (scan I/O Intr.),  process waveform record with FLNK and  then first element value of waveform record is placed in PVx and second element value of waveform record is put in PVy with subArray record.

I would like to know, what is the process time of EPICS record processing?

Thank you

Vishnu



[http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle]<http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>
Get your own FREE website, FREE domain & FREE mobile app with Company email.
       Know More ><http://track.rediff.com/click?url="">>

Get your own FREE website, FREE domain & FREE mobile app with Company email.  

Know More >

 


Get your own FREE website, FREE domain & FREE mobile app with Company email.  

Know More >

 


References:
Re: record processing time Vishnu Patel

Navigate by Date:
Prev: Re: MSI macro setting in substitutions file Ralph Lange
Next: Re: record processing time Vishnu Patel
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: record processing time Vishnu Patel
Next: Re: record processing time Vishnu Patel
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·