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: archiver tools macro support
From: Tim Mooney <[email protected]>
To: Capobianco Roberto <[email protected]>
Cc: [email protected]
Date: Thu, 9 May 2013 12:17:35 -0500 (CDT)
Hi Robert,

I don't know all the ways an archiver config file has to be useable, but you might be able to use msi (http://www.aps.anl.gov/epics/extensions/msi/index.php) to generate an application-specific config file whenever one is needed.

Tim

----- Original Message -----
> From: "Capobianco Roberto" <[email protected]>
> To: [email protected]
> Sent: Thursday, May 9, 2013 10:51:06 AM
> Subject: archiver tools macro support
> 
> Hi all,
> 
> I have created, as template, a simple application to check some
> signals
> in a cubicle (doors, fans, power, temperature etc.)
> Using macro substitution, I have created several identical
> applications,
> one for each cubicle to control.
> Now I want to enable persistance and archiving on some PVs (I would
> like
> to do this in the template not by hand in the applications).
> And this is the problem: persistance supports macro substitution but
> what about archiver config tools and/or file ?
> 
> 
> Just to clarify what I mean, these are examples record from the
> template:
> 
> record (bi,"$(CUBICLE_NAME):FAN")
> {
>      field(DTYP, "s7nodave")
>      field(INP, "@CUBICLEM F1.2 bool")
>      field(PINI, "YES")
>      field(SCAN, "I/O Intr")
>      field(ZNAM, "Fan OFF")
>      field(ONAM, "Fan ON")
> }
> 
> record (ao,"$(CUBICLE_NAME):WARNING_THRS_W")
> {
>      field(DTYP, "s7nodave")
>      field(OUT, "@CUBICLEM DB1.DBD14 int32")
>      field(LINR, "LINEAR")
>      field(EGUF, "214748364.7")
>      field(EGUL, "-214748364.8")
>      field(EGU, "°C")
>      field(HOPR, "35")
>      field(LOPR, "20")
> }
> 
> For the persistance I have something like this
> 
> $(CUBICLE_NAME):WARNING_THRS_W.VAL in my _IOC_.req file
> and
> create_monitor_set("_IOC_.req", 5, "CUBICLE_NAME=$(CUBICLE_NAME)") in
> my
> st.cmd
> 
> Can I create something like this for the _IOC_.xml archiver config
> file ?
> 
> <group >
> <name >$(CUBICLE_NAME)</name>
> 
> <channel >
> <name >$(CUBICLE_NAME):FAN</name>
> <monitor ></monitor>
> </channel>
> </group>
> 
> Or I have to look at other solutions ?
> 
> Thanks. Robert
> 
> 


Replies:
Re: archiver tools macro support Bruce Hill
References:
archiver tools macro support Capobianco Roberto

Navigate by Date:
Prev: archiver tools macro support Capobianco Roberto
Next: SNC: evflags not available to escaped C Joe Sullivan
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: archiver tools macro support Capobianco Roberto
Next: Re: archiver tools macro support Bruce Hill
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 ·