g+
g+ Communities
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  <20112012  2013  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013 
<== Date ==> <== Thread ==>

Subject: RE: Asyn: "devAsynInt32::initCommon Link must be INST_IO"
From: "Mark Rivers" <rivers@cars.uchicago.edu>
To: "Piccoli, Luciano" <lpiccoli@slac.stanford.edu>, <tech-talk@aps.anl.gov>
Date: Thu, 24 Nov 2011 07:04:30 -0600
Hi Luciano,
 
Can you send mksu.substitutions and whatever .template or .db files it loads?
 
What do you get at the IOC prompt for
 
asynReport 10
dbpr  KLYS:IN20:3130:WF_TRIG_DELAY_WRITE 10
 
Mark
 

________________________________

From: tech-talk-bounces@aps.anl.gov on behalf of Piccoli, Luciano
Sent: Wed 11/23/2011 5:56 PM
To: tech-talk@aps.anl.gov
Subject: Asyn: "devAsynInt32::initCommon Link must be INST_IO"



Hi,

I'm writing a simple asyn driver which I started out from the HMS example. When starting the ioc I get these messages:

        lpiccoli@cdlx22 iocMksu]$ ./st.cmd
        #! ../../bin/linux-x86/example
        dbLoadDatabase("../../dbd/example.dbd")
        example_registerRecordDeviceDriver(pdbbase)
        drvMksu_init()
        drvAsynIPPortConfigure("MksuServer", "194.168.0.21:56789 UDP", 0, 0, 1)
        initMksu("Mksu", "MksuServer")
        dbLoadTemplate("mksu.substitutions")
        iocInit()
        Starting iocInit
        ############################################################################
        ## EPICS R3.14.10-lcls1 $R3-14-10$ $2008/10/27 19:39:04$
        ## EPICS Base built Jul 15 2009
        ############################################################################
        KLYS:IN20:3130:MOD_TRIG_DELAY_READ devAsynInt32::initCommon  Link must be INST_IO
        KLYS:IN20:3130:WF_TRIG_DELAY_READ devAsynInt32::initCommon  Link must be INST_IO
        KLYS:IN20:3130:MOD_TRIG_DELAY_WRITE devAsynInt32::initCommon  Link must be INST_IO
        KLYS:IN20:3130:WF_TRIG_DELAY_WRITE devAsynInt32::initCommon  Link must be INST_IO
        iocRun: All initialization complete
        epics>    

It looks like something is not getting set correctly, the link type of those records should be INST_IO. Using gdb I see that they have the link type set to 0 (CONSTANT).

Am I missing something in the st.cmd file? Suggestions are welcome :)

Thank you,
Luciano





Replies:
RE: Asyn: "devAsynInt32::initCommon Link must be INST_IO" Piccoli, Luciano
References:
Asyn: "devAsynInt32::initCommon Link must be INST_IO" Piccoli, Luciano

Navigate by Date:
Prev: Re: Gateway patches (CMake) Ralph Lange
Next: [help] degree in Computer Science/Software Engineering Pavel Masloff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013 
Navigate by Thread:
Prev: Asyn: "devAsynInt32::initCommon Link must be INST_IO" Piccoli, Luciano
Next: RE: Asyn: "devAsynInt32::initCommon Link must be INST_IO" Piccoli, Luciano
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·