I think you just have a disconnected channel, perhaps due to a typo.
Type the following command at the iocsh:
seqChanShow pxlCooling "-"
That will show you a list of all channels that have not connected.
Mark
________________________________
From: James F Ross [[email protected]]
Sent: Thursday, May 02, 2013 4:24 PM
To: Mark Rivers
Cc: EPICS Tech Talk
Subject: Re: sequencer and registrars
Well, actually, the program compiled but the sequencer program doesn't seem to be loading. Below is everything the IOC says when running st.cmd. There should be some messages I built into the .stt file to say when a state is entered (including one right as the first state occurs), but all I get is:
numMonitoredChans 0 firstMonitorCount 0 assignCount 7 firstConnectCount 6
numMonitoredChans 0 firstMonitorCount 0 assignCount 7 firstConnectCount 6
enumMonitoredChans 0 firstMonitorCount 0 assignCount 7 firstConnectCount 6
I've included the full read out when the IOC starts below. If anyone has any ideas as to what may be the problem, I'd appreciate the help. The cas warnings are fairly common and I've seen them in other IOCs without causing problems.
#!../../bin/linux-x86/pxlCooling
## You may have to change pxlCooling to something else
## everywhere it appears in this file
< envPaths
epicsEnvSet(ARCH,"linux-x86")
epicsEnvSet(IOC,"iocPXLCooling")
epicsEnvSet(TOP,"/home/sysuser/epics.3.14.12.1/hft_sc/pixel/PXL-Cooling")
epicsEnvSet(SNCSEQ,"/home/sysuser/epics/synApps_5_5/support/seq-2-0-12")
epicsEnvSet(EPICS_BASE,"/home/sysuser/epics.3.14.12.1/base-3.14.12.1")
cd /home/sysuser/epics.3.14.12.1/hft_sc/pixel/PXL-Cooling
## Register all support components
dbLoadDatabase("dbd/pxlCooling.dbd",0,0)
pxlCooling_registerRecordDeviceDriver(pdbbase)
## Load record instances
dbLoadRecords("db/pxlCooling.db")
cd /home/sysuser/epics.3.14.12.1/hft_sc/pixel/PXL-Cooling/iocBoot/iocPXLCooling
iocInit()
Starting iocInit
############################################################################
## EPICS R3.14.12.1 $Date: Tue 2011-04-26 15:36:19 -0500$
## EPICS Base built Jul 25 2012
############################################################################
cas warning: Configured TCP port was unavailable.
cas warning: Using dynamically assigned TCP port 45531,
cas warning: but now two or more servers share the same UDP port.
cas warning: Depending on your IP kernel this server may not be
cas warning: reachable with UDP unicast (a host's IP in EPICS_CA_ADDR_LIST)
iocRun: All initialization complete
## Start any sequence programs
seq pxlCooling,"user=sysuserHost"
SEQ Version 2.0.12: Wed Jul 25 17:06:36 2012
Spawning state program "pxlCooling", thread 0x820b3b0: "pxlCooling"
epics>
On Thu, May 2, 2013 at 4:41 PM, James F Ross <[email protected]<mailto:[email protected]>> wrote:
That did it. Thanks!
James
On Thu, May 2, 2013 at 4:30 PM, Mark Rivers <[email protected]<mailto:[email protected]>> wrote:
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]> [mailto:[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
- Replies:
- Re: sequencer and registrars James F Ross
- References:
- sequencer and registrars James F Ross
- RE: sequencer and registrars Mark Rivers
- Re: sequencer and registrars James F Ross
- Re: sequencer and registrars James F Ross
- Navigate by Date:
- Prev:
Re: sequencer and registrars James F Ross
- Next:
Re: sequencer and registrars James F Ross
- 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
- Navigate by Thread:
- Prev:
Re: sequencer and registrars James F Ross
- Next:
Re: sequencer and registrars James F Ross
- 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
|