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

Subject: Re: DataBase question
From: Tim Mooney <[email protected]>
To: Andrew Wagner <[email protected]>
Cc: [email protected]
Date: Mon, 16 Aug 2010 15:53:41 -0500
Andrew, There's an App for that. [Sorry, I couldn't resist.]

There's a database in the synApps/std module that's intended to add ramping
to any PV. It might be a useful starting point. The database contains some stuff
you might not want, because it supports redefining the ramp target and readback
PV's at run time, and restoring those choices after an ioc reboot, but the basic
ramping stuff might be worth looking at. Also the database addresses the problem
of telling a ca_put_callback() client when the ramp has arrived at the commanded
value, which might or might not be useful for you.


You can see a copy of the database here:
https://subversion.xor.aps.anl.gov/synApps/std/trunk/stdApp/Db/ramp_tweak.db
and MEDM display files
https://subversion.xor.aps.anl.gov/synApps/std/trunk/stdApp/op/adl/ramp_tweak.adl

Andrew Wagner wrote:
Hey guys,

I'm building a database to ramp a magnet given inputs from an Agilent 34970 MUX and output to an Agilent 3631 Voltage programmer. I've got the drivers and device support working for the MUX and programmer and would like to create a database (and separate application) that can access the AI and AO records from the devices and and perform calculations. My question is: Do records loaded in the same IOC have access to each others PVs? For instance if I :

dbLoadRecords("db/devAG34970.db",args) dbLoadRecords("db/devAG3631.db",args)

to load the AI and AO records for the devices, can I have a third record,

dbLoadRecords("db/MagnetCtrl.db",args)

that contains calc records that have inputs from pvs defined in the devAG records? Alternatively, do I have to define one big record that includes everything I want.

Cheers,

Andrew


--
Tim Mooney ([email protected]) (630)252-5417
Software Services Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


References:
DataBase question Andrew Wagner

Navigate by Date:
Prev: Re: DataBase question Matthieu Bec
Next: some patches for msi Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: DataBase question Matthieu Bec
Next: some patches for msi Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·