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  <20182019  2020  2021  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to start EPICS IOC via LabVIEW on cRIO
From: "Southern, Tim" <[email protected]>
To: [email protected]
Date: Fri, 23 Mar 2018 11:22:31 -0400
Hi Zefeng Zhao
,
You will need to create a dbd file in your <APP>/src folder like so

>> touch lvPortDriver.dbd

In the file add the following line:
registrar(<name of st program>Registrar)

You will then need to add the dbd to the src/Makefile:
<APP>_DBD += lvPortDriver.dbd

Run make in src folder.

-Tim 

On 3/23/18 9:48 AM, [email protected] wrote:
Dear Dr. Baily,

Thank you very much for giving me these instructions about "lvPortDriver"! But I'm still unable to build it successfully. 

I built the EPICS base 3.14.12.7, asyn4-30, and put the LabVIEW header(my version is LabVIEW-2015 32-bit for windows) 
and the newer released version of lvPortDriver to my cRIO-9030.
Then I set the ./configure/RELEASE file like (annotations in the file are omitted ):

EPICS_RELEASE = R3.14.12.7
SUPPORT=/usr/local/EPICS/synapp/support
ASYN=/usr/local/EPICS/synapp/support/asyn4-30
LINUX_GPIB=NO
LABVIEW=/usr/local/EPICS/synapp/support/labview
EPICS_BASE= /usr/local/EPICS/base-3.14.12.7

Next I typed "make" in this configure directory, "cd ../",and "make" in the lvPortDriver directory.
But errors occur:

make[3]: Entering directory '/usr/local/EPICS/synapp/support/lvPortDriver-master/lvtestApp/src/O.linux-x86_64'
perl /usr/local/EPICS/base-3.14.12.7/bin/linux-x86_64/makeIncludeDbd.pl base.dbd lvPortDriver.dbd asyn.dbd lvtestInclude.dbd
echo "../O.Common/lvtestInclude.dbd : ../Makefile" >> lvtest.dbd.d
Expanding dbd
Can't open include file "lvPortDriver.dbd"
Error at or before ""lvPortDriver.dbd"" in file "../O.Common/lvtestInclude.dbd" line 2
dbExpand: Input errors, no output generated
/usr/local/EPICS/base-3.14.12.7/configure/RULES.Db:265: recipe for target '../O.Common/lvtest.dbd' failed
make[3]: *** [../O.Common/lvtest.dbd] Error 1
make[3]: Leaving directory '/usr/local/EPICS/synapp/support/lvPortDriver-master/lvtestApp/src/O.linux-x86_64'
/usr/local/EPICS/base-3.14.12.7/configure/RULES_ARCHS:61: recipe for target 'install.linux-x86_64' failed
make[2]: *** [install.linux-x86_64] Error 2

I tried to uninstall and rebuild it several times, but the result didn't changed.
What should I do to correct the error? Look forward to your guidance. 

Best Regards,
Zefeng Zhao


References:
RE: How to start EPICS IOC via LabVIEW on cRIO [email protected]

Navigate by Date:
Prev: RE: How to start EPICS IOC via LabVIEW on cRIO [email protected]
Next: RE: How to start EPICS IOC via LabVIEW on cRIO Baily, Scott A
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: How to start EPICS IOC via LabVIEW on cRIO [email protected]
Next: RE: How to start EPICS IOC via LabVIEW on cRIO Baily, Scott A
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 23 Mar 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·