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 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
<== Date ==> <== Thread ==>

Subject: Re: Using VDCT for EPICS 3.15.5
From: Nab Rahman <nrahman@pppl.gov>
To: Andrew Johnson <anj@aps.anl.gov>
Cc: tech-talk@aps.anl.gov
Date: Wed, 29 Nov 2017 17:07:32 -0500
Hi Andrew, 

Thank you for responding - unfortunately I cannot succesfully open 'softIoc.dbd" file for EPICS 3.15.5. Method of execution: 

***********************************************************************************************

[nrahman@sunfire03]% pwd
/u/nrahman/EPICS/base-3.15.5/dbd

[nrahman@sunfire03]% ls

aSubRecord.dbd     compressRecord.dbd    mbbiRecord.dbd        permissiveRecord.dbd
aaiRecord.dbd      dbCommon.dbd          mbboDirectRecord.dbd  printfRecord.dbd
aaoRecord.dbd      dbCore.dbd            mbboRecord.dbd        selRecord.dbd
aiRecord.dbd       devSoft.dbd           menuAlarmSevr.dbd     seqRecord.dbd
aoRecord.dbd       devSoft_adj.dbd       menuAlarmStat.dbd     softIoc.dbd
asSub.dbd          dfanoutRecord.dbd     menuConvert.dbd       stateRecord.dbd
base.dbd           dlload.dbd            menuFtype.dbd         stdRecords.dbd
base_adj.dbd       eventRecord.dbd       menuGlobal.dbd        stringinRecord.dbd
biRecord.dbd       fanoutRecord.dbd      menuIvoa.dbd          stringoutRecord.dbd
boRecord.dbd       filters.dbd           menuOmsl.dbd          subArrayRecord.dbd
bptTypeJdegC.dbd   histogramRecord.dbd   menuPini.dbd          subRecord.dbd
bptTypeJdegF.dbd   longinRecord.dbd      menuPost.dbd          system.dbd
bptTypeKdegC.dbd   longoutRecord.dbd     menuPriority.dbd      waveformRecord.dbd
bptTypeKdegF.dbd   lsiRecord.dbd         menuScan.dbd
calcRecord.dbd     lsoRecord.dbd         menuSimm.dbd
calcoutRecord.dbd  mbbiDirectRecord.dbd  menuYesNo.dbd

[nrahman@sunfire03]% java -jar /u/nrahman/EPICS/VDCT-Files/VisualDCT.jar softIoc.dbd

Loading VisualDCT v2.6 build 1274...


Directive to load DBD: 'softIoc.dbd'.
No DBD loaded! Exiting...

***********************************************************************************************

I checked to see if there were any accidental changes to the file but none observed using "ls -l" at the terminal (snipped screenshot): 

-r--r--r--+ 1 nrahman users    596      Aug 17    16:55   menuSimm.dbd
-r--r--r--+ 1 nrahman users    605      Aug 17    16:55   menuYesNo.dbd
-r--r--r--+ 1 nrahman users   1004     Aug 17    16:56   permissiveRecord.dbd
-r--r--r--+ 1 nrahman users   2789     Aug 17    16:56   printfRecord.dbd
-r--r--r--+ 1 nrahman users   6303     Aug 17    16:56   selRecord.dbd
-r--r--r--+ 1 nrahman users   8880     Aug 17    16:56   seqRecord.dbd
-r--r--r--+ 1 nrahman users 387832   Aug 17    16:56   softIoc.dbd
-r--r--r--+ 1 nrahman users    753      Aug 17    16:56   stateRecord.dbd
-r--r--r--+ 1 nrahman users    879      Aug 17    16:56   stdRecords.dbd
-r--r--r--+ 1 nrahman users   1728     Aug 17    16:56   stringinRecord.dbd
-r--r--r--+ 1 nrahman users   2116     Aug 17    16:56   stringoutRecord.dbd
-r--r--r--+ 1 nrahman users   2051     Aug 17    16:56   subArrayRecord.dbd
-r--r--r--+ 1 nrahman users   6326     Aug 17    16:56   subRecord.dbd
-r--r--r--+ 1 nrahman users     99       Aug 17    16:55   system.dbd


The only *.dbd files that I can open with VDCT for EPICS 3.15.5 are the following: 
  • devSoft.dbd
  • dbCommon.dbd
  • dbCore.dbd
  • system.dbd
Once template is opened, I am unable to create any records given that "stdRecords.dbd" wasn't loaded and can't be loaded. Any other suggestions you might have for me? 

Thanks,
Nab 

On Wed, Nov 29, 2017 at 3:44 PM, Andrew Johnson <anj@aps.anl.gov> wrote:
Hi Nab,

On 11/29/2017 01:54 PM, Nab Rahman wrote:
> I would like to use VDCT to build EPICS databases for EPICS 3.15.5
> (stable release) and noticed that VDCT will not load the base version
> "base.dbd" file found in the base directory. I have been able to
> successfully load VDCT with EPICS 3.14.12.6's "base.dbd" file but not
> with EPICS 3.15.5

> Has anyone in the EPICS community been able to successfully run VDCT
> with EPICS 3.15.5?

I just tried and can successfully load the softIoc.dbd file from Base
3.15.5. This is the DBD that has all the includes expanded out for all
the record and device types that come with Base.

In general you should first create your IOC application area (with
makeBaseApp) and configure its configure/RELEASE file, then run make to
create the IOC's DBD file and load that from the $TOP/dbd directory into
VDCT. It will then know about all the record and device types that the
IOC knows about. You shouldn't have to load more than that one DBD file.

Kay's point about new DBD syntax in newer releases is true, VDCT
v2.6.1280 cannot load a softIoc.dbd file from Base-3.16.1 or the
soon-to-be-released Base-7.0.1, so as a community we have some work to
do to update it — any volunteers out there with Java experience please?

- Andrew

--
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon


Replies:
Re: Using VDCT for EPICS 3.15.5 Ronald L. Sluiter
References:
Using VDCT for EPICS 3.15.5 Nab Rahman
Re: Using VDCT for EPICS 3.15.5 Andrew Johnson

Navigate by Date:
Prev: RE: EPID bumpless restart Mark Rivers
Next: Re: Using VDCT for EPICS 3.15.5 Ronald L. Sluiter
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
Navigate by Thread:
Prev: Re: Using VDCT for EPICS 3.15.5 Andrew Johnson
Next: Re: Using VDCT for EPICS 3.15.5 Ronald L. Sluiter
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
ANJ, 29 Nov 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·