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: Epics 7.0.3.1 Windows x64 softIOC - illegal dbd parameter
From: Carsten Winkler via Tech-talk <tech-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: tech-talk at aps.anl.gov
Date: Thu, 7 May 2020 16:24:44 +0200
Thank you! I've patched softIoc.cpp, and now all is fine.

Am 06.05.20 um 19:15 schrieb Michael Davidsaver:
On 5/6/20 7:22 AM, Carsten Winkler via Tech-talk wrote:
Hi,

I successfully compiled Epics 7.0.3.1 for Windows 7 x64. When I start softIoc.exe without dbd-parameter (-D), everything is fine. But when I specify the path for the same dbd file, I get an illegal option error.
(I wanna move the dbd file for a client application.)

What do I wrong?
Nothing.  The bad news is that this was a mistake with 7.0.3.1
which has since been fixed.  The good news is that -D is no longer needed
to find softIoc.dbd in its default location ../../dbd/softIoc.dbd
relative to softIoc.exe.  So in your example you should be able to omit '-D'.

https://epics.anl.gov/tech-talk/2019/msg01822.php


Best regards
Carsten

C:\>"C:\base-7.0.3.1\bin\windows-x64\softIoc.exe" -D "C:\base-7.0.3.1\dbd\softIoc.dbd" -d "\DemoIOC\db\demo.db"
*C:\base-7.0.3.1\bin\windows-x64\softIoc.exe: illegal option -- D*
Usage: C:\base-7.0.3.1\bin\windows-x64\softIoc.exe [-D softIoc.dbd] [-h] [-S] [-s] [-a ascf]
[-m macro=value,macro2=value2] [-d file.db]
[-x prefix] [st.cmd]

     -D <dbd>  If used, must come first. Specify the path to the softIoc.dbdfile.        The compile-time install location is saved in the binary as a default.

     -h  Print this mesage and exit.

     -S  Prevents an interactive shell being started.

     -s  Previously caused a shell to be started.  Now accepted and ignored.

     -a <acf>  Access Security configuration file.  Macro substitution is
         performed.

     -m <MAC>=<value>,... Set/replace macro definitions used by subsequent -d and
         -a.

     -d <db>  Load records from file (dbLoadRecords).  Macro substitution is
         performed.

     -x <prefix>  Load softIocExit.db.  Provides a record "<prefix>:exit".
         Put 0 to exit with success, or non-zero to exit with an error.

Any number of -m and -d arguments can be interspersed; the macros are applied
to the following .db files.  Each later -m option causes earlier macros to be
discarded.

A st.cmd file is optional.  If any databases were loaded the st.cmd file will
be run *after* iocInit.  To perform iocsh commands before iocInit, all database
loading must be performed by the script itself, or by the user from the
interactive IOC shell.

Compiled-in path to softIoc.dbd is:
         C:\base-7.0.3.1\bin\windows-x64\../../dbd/softIoc.dbd
Unknown argument: -?

C:\>


------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (Sprecher), Prof. Dr. Jan Lüning, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin


________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (Sprecher), Prof. Dr. Jan Lüning, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

References:
Epics 7.0.3.1 Windows x64 softIOC - illegal dbd parameter Carsten Winkler via Tech-talk
Re: Epics 7.0.3.1 Windows x64 softIOC - illegal dbd parameter Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: Epics 7.0.3.1 Windows x64 softIOC - illegal dbd parameter Johnson, Andrew N. via Tech-talk
Next: Re: EPICS DB file automation for PLC from spreadsheet Lucas Russo 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: Epics 7.0.3.1 Windows x64 softIOC - illegal dbd parameter Johnson, Andrew N. via Tech-talk
Next: Announcing epics-base 7.0.3.1 on conda-forge Benjamin Bertrand 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, 07 May 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·