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  <20092010  2011  2012  2013  2014  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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: how to change the MEAN without reboot IOC?
From: "Mark Rivers" <[email protected]>
To: "Graham Cross" <[email protected]>, "???" <[email protected]>
Cc: Mark Woodward - Hytec <[email protected]>, [email protected]
Date: Mon, 16 Mar 2009 10:55:42 -0500
Title: how to change the MEAN without reboot IOC?

One thing to look at is the asynInt32Average device support already in asyn/devEpics.  This device support averages the callback (interrupt) readings from a device until the next time the record is processed.  So if the record is periodically processing at 10Hz it averages all the readings for 0.1 second, and if the scan rate is changed to 1Hz it automatically increases the averaging period to 1 second.  This requires no changes to the driver, beyond the required support for asynInt32 callbacks.  We run some ADCs at 1kHz callback rate, so the device support does a lot of averaging.

 

Mark

 

 


From: [email protected] [mailto:[email protected]] On Behalf Of Graham Cross
Sent: Monday, March 16, 2009 10:46 AM
To: '???'
Cc: 'Mark Woodward - Hytec'; [email protected]
Subject: RE: how to change the MEAN without reboot IOC?

 

Hi Wang,

 

Hytec currently have work in progress to provide Asyn Driver support for our ADCs. We are currently working on the 8401 ADC code and will support the 8413 next. This new support includes functionality to allow run time modification of many parameters including sampling rate, collection mode, number of samples and number to average over.

You will have to stop the ADC sampling to make a change but you will not need to reboot the IOC.

 

The specification for this work has been driven by requirements for Diamond and agreed with them.

 

When the code is tested and approved it will be available to download, hopefully soon.

 

Regards,

Graham Cross
Hytec Electronics Ltd

 


From: [email protected] [mailto:[email protected]] On Behalf Of ???
Sent: 16 March 2009 02:20
To: [email protected]
Subject: how to change the MEAN without reboot IOC?

 

hi,all

I am using the hytec8401 and the correponding hy8401ip driver from Diamond. The record can be follows:

record(ai,"AI")
{
 field(DTYP,"Hy8401ip")
 field(INP,"#20S0 @ MEAN=10)
}

Sometimes i want to change the samples to average. But i do not know how to change this field without reboot the ioc? AI.INP looks like can not be change in running. By the way i use edm.

Wang Qisheng
===================================================
No.239 Zhangheng Road
PuDong District
Shanghai Institute of Applied Physics CAS
Shanghai, China
Tel: +86-21-33933256
  Fax: +86-21-33933031


References:
how to change the MEAN without reboot IOC? 汪启胜
RE: how to change the MEAN without reboot IOC? Graham Cross

Navigate by Date:
Prev: RE: how to change the MEAN without reboot IOC? Graham Cross
Next: weird behaviour of SNL test program running on Soft IOC on LINUX Oleg Makarov
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: how to change the MEAN without reboot IOC? Graham Cross
Next: weird behaviour of SNL test program running on Soft IOC on LINUX Oleg Makarov
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·