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 2020 2021 2022 2023 2024 2025 | 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 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: sequencer and registrars |
From: | James F Ross <[email protected]> |
To: | Mark Rivers <[email protected]> |
Cc: | EPICS Tech Talk <[email protected]> |
Date: | Thu, 2 May 2013 16:41:52 -0400 |
If your SNL program begins with a line like:
program pxlCooling(…
Then your registrar command is not quite right. Rather than this:
registrar(pxlCooling_registrar)
it should be
registrar(pxlCoolingRegistrar)
Mark
From: [email protected] [mailto:[email protected]] On Behalf Of James F Ross
Sent: Thursday, May 02, 2013 3:08 PM
To: EPICS Tech Talk
Subject: sequencer and registrars
Hello all,
I'm adapting an IOC that reads text files and assigns the values in them to epics variables for a new system. It uses sequencer and I don't think I'm setting up the registrar correctly in the dbd file... I'm not very familiar with sequencer save for the .stt files build the binaries. The old IOC was for a bunch of gas pressure and flow monitor variables for the time of flight detector at STAR. I'm adapting a copy for a cooling system for a new pixel detector that will be installed soon.I'm using epics base 3.13.12.1 and sequencer 2.0.12
The registrar in <top>/dbd/pxlCooling.dbd:
registrar(pxlCooling_registrar)
Here is the error I'm getting:
make[3]: Entering directory `/home/sysuser/epics.3.14.12.1/hft_sc/pixel/cooling/pxlCoolingApp/src/O.linux-x86'
/usr/bin/g++ -o pxlCooling -L/home/sysuser/epics.3.14.12.1/base-3.14.12.1/lib/linux-x86 -L/home/sysuser/epics/synApps_5_5/support/seq-2-0-12/lib/linux-x86 -Wl,-rpath,/home/sysuser/epics.3.14.12.1/base-3.14.12.1/lib/linux-x86 -Wl,-rpath,/home/sysuser/epics/synApps_5_5/support/seq-2-0-12/lib/linux-x86 -m32 pxlCooling_registerRecordDeviceDriver.o pxlCooling.o pxlCoolingMain.o -lseq -lpv -lrecIoc -lsoftDevIoc -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom
pxlCooling_registerRecordDeviceDriver.o: In function `pxlCooling_registerRecordDeviceDriver':
/home/sysuser/epics.3.14.12.1/hft_sc/pixel/cooling/pxlCoolingApp/src/O.linux-x86/pxlCooling_registerRecordDeviceDriver.cpp:291: undefined reference to `pvar_func_pxlCooling_registrar'
collect2: ld returned 1 exit status
make[3]: *** [pxlCooling] Error 1
make[3]: Leaving directory `/home/sysuser/epics.3.14.12.1/hft_sc/pixel/cooling/pxlCoolingApp/src/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory `/home/sysuser/epics.3.14.12.1/hft_sc/pixel/cooling/pxlCoolingApp/src'
make[1]: *** [src.install] Error 2
make[1]: Leaving directory `/home/sysuser/epics.3.14.12.1/hft_sc/pixel/cooling/pxlCoolingApp'
make: *** [pxlCoolingApp.install] Error 2
Thank you!
James Ross