EPICS Home

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  2014  2015  2016  2017  <20182019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019 
<== Date ==> <== Thread ==>

Subject: RE: PV alias with logical names
From: Freddie Akeroyd - UKRI STFC <freddie.akeroyd@stfc.ac.uk>
To: Bo Jakobsen <lister@f77.dk>, EPICS Tech Talk <tech-talk@aps.anl.gov>
Date: Fri, 5 Oct 2018 10:05:29 +0000

Hi Bo,

 

If you just need a pure name alias,  then there are two options:

 

·         You could use the “alias” db command and create a file of aliases that you load into the IOC. The alias command only works for PVs in the same IOC, so you would need to load these into the temperature monitoring IOC and then restart this IOC on any name changes.

·         You can use an EPICS gateway running locally to alias PVs, which is what we do. There are notes in the EPICS gateway manual about how to run an “Alias Gateway”  

 

Regards,

 

Freddie

 

From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Bo Jakobsen
Sent: 05 October 2018 10:12
To: EPICS Tech Talk
Subject: PV alias with logical names

 

Hi,

I am setting up a new EPICS system for monitoring process values in our labs.

I will for now be using a temperature monitoring box which has a number of channels, so PV will be e.g.

lab1:Tbox1:T1
lab1:Tbox1:T2
lab1:Tbox1:T3

...

However, I would like to have PV names for the users of the system which directly reflects what is measured, e.g.

lab1:T:CoolWater
lab1:T:Cryostat
lab1:T:Enviroment

I was considering to set up an extra soft IOC with records like:

record(ai, "lab1:T:CoolWater") {
  field(DESC, "Lab 1 Cooling water temperature")
  field(DTYP, "Soft Channel")
  field(INP, "lab1:Tbox1:T1 CP")
  field(PREC, "3")
  field(EGU, "K")
}

and then define alarm limits and PV archiving based on this.

Is this the right way to obtain logical names, and is there any downsides of having monitor PV's.

Best

Bo

 


References:
PV alias with logical names Bo Jakobsen

Navigate by Date:
Prev: Re: Building epics base for a different location Jeong Han Lee
Next: Re: Building epics base for a different location Jeong Han Lee
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019 
Navigate by Thread:
Prev: PV alias with logical names Bo Jakobsen
Next: Base R3.15.6-rc1 Published Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019