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  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  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  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Re: lakeshore336 msi: Can't open file 'ioc_sns.db'
From: Jeong Han Lee via Tech-talk <tech-talk at aps.anl.gov>
To: "Pearson, Matthew R." <pearsonmr at ornl.gov>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Juliane Reinhardt <jreinhardt at lbl.gov>
Date: Fri, 18 Dec 2020 17:51:39 -0800
Hi Matt,

Thank you for your quick response. Yes, this is a bit awkward since I
also didn't see the scalcout record in the template.

@Juliane,

Please check Matt's repository instead of mine.

Best,
Han


On Fri, Dec 18, 2020 at 8:43 AM Pearson, Matthew R. <pearsonmr at ornl.gov> wrote:
>
> Hi,
>
> I've updated the example IOC so it actually works now (by including busy support). Although I don't have any hardware to test with, it at least builds and starts up ok. I had been updating the lakeshore template files over the years, and not updating the example IOC.
>
> We haven't been building streamDevice with scalcout support. It looks like you need to include that support in the IOC if you do. The lakeshore templates don't use scalcout (although I do have an updated version that does, not on github yet).
>
> Cheers,
> Matt
>
> > -----Original Message-----
> > From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Jeong Han
> > Lee via Tech-talk
> > Sent: Friday, December 18, 2020 3:06 AM
> > To: Juliane Reinhardt <jreinhardt at lbl.gov>
> > Cc: tech-talk at aps.anl.gov
> > Subject: Re: [EXTERNAL] Re: lakeshore336 msi: Can't open file 'ioc_sns.db'
> >
> > Hi Juliane,
> > Please look at my forked version. Somehow, the calc record is missing, since
> > my streamDevice was compiled with a calc record. I guess your stream device
> > may be compiled with a calc record also.
> >
> > https://github.com/jeonghanlee/lakeshore
> >
> > I modified its makefile also, but this work is really quick-and-dirty.
> > I may have more mistakes.
> > There is another startup script you may see, it is more clean output, because
> > I remove autosave.
> >
> > I am sure that SNS will solve this problem more fundamentally soon.
> > Until then, you may try to see how it works.
> >
> > HTH,
> > Han
> >
> > On Thu, Dec 17, 2020 at 11:14 PM Juliane Reinhardt <jreinhardt at lbl.gov>
> > wrote:
> > >
> > > Hi Han,
> > >
> > > Thanks for the prompt reply. The repository is here:
> > > https://github.com/mp49/lakeshore
> > > Yes I saw these error but then when I looked into the dbd or db files
> > > I could not see what the actual issue was.
> > >
> > > Juliane
> > >
> > > On 12/17/20 23:11, Jeong Han Lee wrote:
> > > > Hi Juliane,
> > > >
> > > > Your DBD file, example.dbd is wrong. So you have a lot of error
> > > > message in your IOC startup. Please see below "snip snip section"
> > > > Since I can get the code of this repository if this is public, could
> > > > you point me where your repository is?  I cc this email to my lab
> > > > account.
> > > > And ALS also has the similar db file, which you may get more benefit
> > > > from your IOC also.
> > > >
> > > > Han
> > > >
> > > > --- snip snip ---
> > > > dbLoadDatabase "dbd/example.dbd"\
> > > > Declaration of recordtype(scalcout) preceeded full definition.\
> > > > Error at or before "\}" in file "dbd/example.dbd" line 10293\
> > > >
> > > > --- snip snip ---
> > > >
> > > > On Thu, Dec 17, 2020 at 9:53 PM Juliane Reinhardt <jreinhardt at lbl.gov>
> > wrote:
> > > >> Hi everyone,
> > > >>
> > > >> Thanks for your help to build the IOC.
> > > >> I pulled the latest version with the sns specific template removed
> > > >> and rebuilt the application after modifying the configure/RELEASE
> > > >> file. That worked fine. However, when starting the IOC I get
> > > >> multiple errors. I searched for solutions but wasn't successful
> > > >> yet. I would appreciate if you could point me to some solution as I
> > > >> am still relatively new to EPICS and with every IOC installation I
> > > >> learn more but only after running into quite some issues. I attached the
> > output of the ioc startup.
> > > >>
> > > >> Best,
> > > >> Juliane
> > > >>
> > > >> On 12/15/20 07:27, Pearson, Matthew R. wrote:
> > > >>> Hi,
> > > >>>
> > > >>> Sorry about that. Steve is right, it's just a SNS specific template that
> > shouldn't have been in the example IOC. I've removed the use of devIocStats
> > from the example IOC on GitHub.
> > > >>>
> > > >>> Cheers,
> > > >>> Matt
> > > >>>
> > > >>>> -----Original Message-----
> > > >>>> From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of
> > > >>>> Hartman, Steven via Tech-talk
> > > >>>> Sent: Tuesday, December 15, 2020 9:15 AM
> > > >>>> To: Jeong Han Lee <citadel.lee at gmail.com>; Juliane Reinhardt
> > > >>>> <jreinhardt at lbl.gov>
> > > >>>> Cc: tech-talk <tech-talk at aps.anl.gov>
> > > >>>> Subject: Re: [EXTERNAL] Re: lakeshore336 msi: Can't open file
> > 'ioc_sns.db'
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>> On Dec 15, 2020, at 2:27 AM, Jeong Han Lee via Tech-talk <tech-
> > > >>>> talk at aps.anl.gov> wrote:
> > > >>>>>    Please look at the example.substitutions file. It uses
> > > >>>>> ioc_sns.db within there. My first guess ioc_sns.db file is
> > > >>>>> missing or is located in a wrong directory.
> > > >>>>
> > > >>>> ioc_sns.db is a local configuration file for customizing iocStats
> > > >>>> on the SNS beam lines. It can be safely ignored / commented out.
> > > >>>>
> > > >>>> --
> > > >>>> Steven Hartman
> > > >>>> hartmansm at ornl.gov
> > > >>>>
> > > >>>>
> > > >> --
> > > >> Juliane Reinhardt, PhD
> > > >> Project Scientist | ALS Computing Group Blg. 15-337E | phone:
> > > >> 510-486-4313 jreinhardt at lbl.gov Lawrence Berkeley National Lab
> > > >>
> > >
> > > --
> > > Juliane Reinhardt, PhD
> > > Project Scientist | ALS Computing Group Blg. 15-337E | phone:
> > > 510-486-4313 jreinhardt at lbl.gov Lawrence Berkeley National Lab
> > >

References:
lakeshore336 msi: Can't open file 'ioc_sns.db' Juliane Reinhardt via Tech-talk
Re: lakeshore336 msi: Can't open file 'ioc_sns.db' Jeong Han Lee via Tech-talk
Re: [EXTERNAL] Re: lakeshore336 msi: Can't open file 'ioc_sns.db' Hartman, Steven via Tech-talk
RE: [EXTERNAL] Re: lakeshore336 msi: Can't open file 'ioc_sns.db' Pearson, Matthew R. via Tech-talk
Re: [EXTERNAL] Re: lakeshore336 msi: Can't open file 'ioc_sns.db' Juliane Reinhardt via Tech-talk
Re: [EXTERNAL] Re: lakeshore336 msi: Can't open file 'ioc_sns.db' Jeong Han Lee via Tech-talk
Re: [EXTERNAL] Re: lakeshore336 msi: Can't open file 'ioc_sns.db' Juliane Reinhardt via Tech-talk
Re: [EXTERNAL] Re: lakeshore336 msi: Can't open file 'ioc_sns.db' Jeong Han Lee via Tech-talk
RE: [EXTERNAL] Re: lakeshore336 msi: Can't open file 'ioc_sns.db' Pearson, Matthew R. via Tech-talk

Navigate by Date:
Prev: Re: Intended use of NTMultiChannel Michael Davidsaver via Tech-talk
Next: puzzle running softIocPVA Rolf Keitel via Tech-talk
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  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: RE: [EXTERNAL] Re: lakeshore336 msi: Can't open file 'ioc_sns.db' Pearson, Matthew R. via Tech-talk
Next: WebOPI does not accept parent macros Abdalla Ahmad via Tech-talk
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  2018  2019  <20202021  2022  2023  2024 
ANJ, 19 Dec 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·