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

Subject: Re: [help] EPICS build no good
From: Pavel Masloff <[email protected]>
To: Andrew Johnson <[email protected]>, Dirk Zimoch <[email protected]>
Cc: [email protected]
Date: Mon, 5 Dec 2011 22:32:19 +0300
Hey Andrew!!! Hi Dirk!

It worked :))

This was my first introduction to Epics. Andrew, Dirk, guys! What would you recommend me to do next? I mean, we have a Tektronix oscilloscope at work, namely TDS 5054, I guess. And I've read there's a driver written to hook it up to EPICS. How can I do it? Perhaps, I could try your PLC driver, Dirk as the next step in mastering Epics. What do you guys think?

Thanks,

Paul


On Mon, Dec 5, 2011 at 9:42 PM, Andrew Johnson <[email protected]> wrote:
Hi Pavel,

On 2011-12-05 Pavel Masloff wrote:
>
> D:\>softIoc -h
> Usage: softIoc [-D softIoc.dbd] [-h] [-S] [-a ascf]
>         [-m macro=value,macro2=value2] [-d file.db]
>         [-x prefix] [st.cmd]
> Compiled-in path to softIoc.dbd is:
>         'D:\baseR3.14.12.1\new'/dbd/softIoc.dbd

Forget my last message, the quotes are coming from this Makefile rule:

epicsInstallDir.h:
       $(ECHO) "FINAL_LOCATION=$(FINAL_LOCATION)"
       $(PERL) ../makeInstallDir.pl '$(FINAL_LOCATION)' > $@

On Unix the shell strips out those single quotes, but evidently yours is not
doing so (my win32-x86-mingw build does strip them, but not my win32-x86
build).  You can add two lines to the base/src/softIoc/makeInstallDir.pl file
to fix this:

=== modified file 'src/softIoc/makeInstallDir.pl'
--- src/softIoc/makeInstallDir.pl       2010-09-27 22:42:42 +0000
+++ src/softIoc/makeInstallDir.pl       2011-12-05 18:33:24 +0000
@@ -14,6 +14,8 @@
 my $path = shift;

 $path =~ s/\\/\\\\/gx;
+$path =~ s/^'//x;
+$path =~ s/'$//x;

 print "/* THIS IS A GENERATED FILE. DO NOT EDIT! */\n",
      "\n",

I will add this change to the 3.14.12.2 release of Base.

HTH,

- Andrew
--
Optimization is the process of taking something that works and
replacing it with something that almost works, but costs less.
-- Roger Needham



--
Sincerely,

Pavel Maslov, MSc
R&D Institute for Electro-Physical Apparatus


Mobile: +7 (951) 672 22 19
Phone: +7 (812) 461 01 01

Replies:
Re: [help] EPICS build no good Dirk Zimoch
References:
[help] EPICS build no good Pavel Masloff
Re: [help] EPICS build no good Andrew Johnson
Re: [help] EPICS build no good Pavel Masloff
Re: [help] EPICS build no good Andrew Johnson

Navigate by Date:
Prev: Re: [help] EPICS build no good Andrew Johnson
Next: synApps 5.6 release Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: [help] EPICS build no good Andrew Johnson
Next: Re: [help] EPICS build no good Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·