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: Areadetector error in version R3-8
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: 'Sandeep Kumar Malu - UKRI STFC' <sandeep-kumar.malu at stfc.ac.uk>
Cc: tech-talk <tech-talk at aps.anl.gov>
Date: Fri, 21 Feb 2020 14:06:34 +0000
> Also FYI, for me line no 660 points to field(PORT, $(PORT)) in ADBase.template file

If that is true then you are not using ADCore R3-8, which you said you were in your original message.

Here is the proof:

corvette:ADCore/ADApp/Db>git checkout R3-8 ADBase.template
corvette:ADCore/ADApp/Db>cat -n ADBase.template
     1  #=================================================================#
     2  # Template file: ADBase.template
     3  # Database for area detector control using asyn driver and standard asyn device support
     4  # Mark Rivers
     5  # March 9, 2008
     6
...
   649  ###################################################################
   650  #  The asynRecord is used for mainly for trace mask               #
   651  ###################################################################
   652
   653  # Set ASYN_TRACEIO_HEX bit by default
   654  record(asyn,"$(P)$(R)AsynIO")
   655  {
   656      field(PORT, $(PORT))
   657      field(TIB2,"1")
   658      info("ADType", "ADDriver")
   659  }
   660

So in R3-8 line 660 is blank.

However, if I checkout the master branch of ADBase.template I see this:

   653  ###################################################################
   654  #  The asynRecord is used for mainly for trace mask               #
   655  ###################################################################
   656
   657  # Set ASYN_TRACEIO_HEX bit by default
   658  record(asyn,"$(P)$(R)AsynIO")
   659  {
   660      field(PORT, $(PORT))
   661      field(TIB2,"1")
   662      info("ADType", "ADDriver")
   663  }
   664

So I think you may be running the master branch of ADCore.

I am running the master branch and I don't see your error.

It will be interesting to see if the problem goes away if you run base 7.0.3.1.

Mark


-----Original Message-----
From: Sandeep Kumar Malu - UKRI STFC <sandeep-kumar.malu at stfc.ac.uk> 
Sent: Friday, February 21, 2020 7:40 AM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk <tech-talk at aps.anl.gov>
Subject: Re: Areadetector error in version R3-8

Hi Mark

I used base 3.15 for areadetector 3-5 and asyn 4-33. Meanwhile I'll check with base 7.0.3

Also FYI, for me line no 660 points to field(PORT, $(PORT)) in ADBase.template file

Thanks
Sandeep

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Friday, 21 February 2020, 6:36 pm
To: Sandeep Kumar Malu - UKRI STFC
Cc: tech-talk
Subject: Re: Areadetector error in version R3-8

Hi Sandeep, > The error I get on loading ADBase template is - > dbLoadRecords("ADBase.template","P=Y-CAM:,R=cam1:,PORT=Y-CAM:CAM,ADDR=0,TIMEOUT=1") > Error: syntax error > at or before ":CAM" in path "/usr/local/epics/support/areaDetector/current/ADCore/db" file "ADBase.template" line 660 > dbReadCOM: Parser stack dirty w/o error. 1 > Also please note, there is no such error in Areadetector version R3-5 with asyn version 4-33. The reason for upgrade is to use ADVimba plugin instead of ADProsilica plugin. That is a strange error. Line 660 is a blank line at the end of ADBase.template. I am using asyn R4-38 and areaDetector R3-8 with no problems, and I think many others are as well. I notice that you are using base 7.0.2.2. I am using base 7.0.3.1. You said that you did not see the problem with areaDetector R3-5 and asyn R4-33. What version of base were you using with those versions of areaDetector and asyn? I would suggest updating base to 7.0.3.1 and see if the problem persists. Mark ________________________________ From: Tech-talk on behalf of Sandeep Kumar Malu - UKRI STFC via Tech-talk Sent: Friday, February 21, 2020 6:11 AM To: tech-talk at aps.anl.gov Subject: Areadetector error in version R3-8 Hi I recently upgrade EPICS base & support modules to latest versions which are as follows base - 7.0.2.2 seq - 2.2.6 asyn - 4-38 autosave - 5-9 astream - 2-6 busy -1-6 sscan - 2-10 areaDetector - 3-8 The error I get on loading ADBase template is - dbLoadRecords("ADBase.template","P=Y-CAM:,R=cam1:,PORT=Y-CAM:CAM,ADDR=0,TIMEOUT=1") Error: syntax error at or before ":CAM" in path "/usr/local/epics/support/areaDetector/current/ADCore/db" file "ADBase.template" line 660 dbReadCOM: Parser stack dirty w/o error. 1 Though If I comment these line in ADBase template, I can stream camera without any error # Set ASYN_TRACEIO_HEX bit by default record(asyn,"$(P)$(R)AsynIO") { field(PORT, $(PORT)) field(TIB2,"1") info("ADType", "ADDriver") } Also please note, there is no such error in Areadetector version R3-5 with asyn version 4-33. The reason for upgrade is to use ADVimba plugin instead of ADProsilica plugin. Many Thanks Sandeep Malu

Replies:
RE: Areadetector error in version R3-8 Sandeep Kumar Malu - UKRI STFC via Tech-talk
References:
Re: Areadetector error in version R3-8 Sandeep Kumar Malu - UKRI STFC via Tech-talk

Navigate by Date:
Prev: Re: Areadetector error in version R3-8 Sandeep Kumar Malu - UKRI STFC via Tech-talk
Next: Re: Buffer full issue with ADAravis Katie Matusik 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: Areadetector error in version R3-8 Sandeep Kumar Malu - UKRI STFC via Tech-talk
Next: RE: Areadetector error in version R3-8 Sandeep Kumar Malu - UKRI STFC 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, 22 Feb 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·