Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: EPICS 7 makeBaseApp
From: Timo Korhonen <Timo.Korhonen@esss.se>
To: "core-talk@aps.anl.gov" <core-talk@aps.anl.gov>
Date: Fri, 24 Nov 2017 22:46:12 +0000
Hi again,

correction: the groups did work in the IOC after all. I just did not pay attention first that the info tag syntax was the old one in the db I tried first. Sorry for the confusion.

Now groups work nicely, this is pretty cool :-)

Thus the only changes I had to do were to add 

myiocname_LIBS += pvAccessIOC

to the IOC makefile and change the info tags to the new syntax where needed.

Timo

From: <core-talk-bounces@aps.anl.gov> on behalf of Timo Korhonen <timo.korhonen@esss.se>
Date: Thursday 23 November 2017 at 14:22
To: "core-talk@aps.anl.gov" <core-talk@aps.anl.gov>
Subject: EPICS 7 makeBaseApp

Hi,

I could make a little progress with including qsrv in an IOC.

I am using the tarball base-7.0.1-pre1.
After compiling Base, I used makeBaseApp to create an ioc directory.
Following instructions in Michael's documentation, I added these to the Makefile:

# include QSRV
myiocname_DBD += PVAServerRegister.dbd
myiocname_DBD += qsrv.dbd
myiocname_LIBS += qsrv

Then the linker complained about missing functions "refTrackRegistrar" and "registerStartPVAServer".

After poking around a bit I added:
 
myiocname_LIBS += pvAccessIOC

And then linking succeeded and qsrv started.
However, the groups did not work; they seem not to be created. Is there maybe a separate/new parser to handle the new info tags that I should link in?

In this process I tried the example IOCs in the pva2pva directory, using softIocPVA.
However, groups did not work in the circle and circle2 applications. In imagedemo the groups worked as (I) expected.
I did not go into finding out why, this was at home in the late evening...I may try more today.

One thing that I noticed is that pvlist works half way: it finds the IOC but does not give the channel list. The error message is
"failed to fetch channel list – not supported". Maybe qsrv does not have this feature yet? It used to work with procSrv.


Sorry for the poor formatting of these messages, I did this at home and my environment there is not primarily set up for EPICS development, at least yet;-)


Timo



Replies:
Re: EPICS 7 makeBaseApp Michael Davidsaver
References:
EPICS 7 makeBaseApp Timo Korhonen

Navigate by Date:
Prev: Re: EPICS 7.0.1-pre1 Johnson, Andrew N.
Next: Re: EPICS 7 makeBaseApp Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: EPICS 7 makeBaseApp Timo Korhonen
Next: Re: EPICS 7 makeBaseApp Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 25 Nov 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·