Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: Using AAI records under EPICS
From: Ralph Lange <Ralph.Lange@bessy.de>
To: "Bruins, Stefan" <brs@vonk-systems.nl>
Cc: "'tech-talk@aps.anl.gov'" <tech-talk@aps.anl.gov>
Date: Wed, 25 Jan 2006 16:12:26 +0100
Stefan,

Every record, device or driver support consists of two parts: Its database definition (ends up as part of an ascii file that is read by the IOC at startup) and the matching code (some object code which is loaded into a support library that the IOC loads).

While you seem to have successfully added the database definition stuff, your support library still misses part of the matching object code.

Make sure that the Makefile in addition to adding the aaiRecord.dbd not only includes the record support object, but also at least the soft device support for it. (Take a look at baseLIBOBJS or at the example application Makefile to see how this is achieved.)

BTW: The AAI record is an input record (that's what the 'i' stands for). If you want to get values /to/ a device, EPICS would regard this an /output/ operation, so the appropriate record might rather be the AAO record. But I'm just wildly guessing ... sorry if this was too obvious.

Good luck!
Ralph


Bruins, Stefan wrote:


For an application I need to upload a large number of analogue values to a
device. Therefore the AAI record seems to suit perfect.
I use EPICS R3.14.6 on a linux machine.

As being not such an experienced user it is not clear for me how to add the
support for this record to my application.

I've already added the line:
	DCCC_DBD += aaiRecord.dbd
After the "DCCC_DBD += base.dbd" line in the "DCCCApp/src/Makefile" file.

When running the application I get the following message from the IOC
console:

	filename="../recGbl.c" line number=88
	Missing device support entry table PV: DCCC:wavgen:waveform  aai:
init_record

What actions do I have to take to get the support for this record type
running?

Thanks in advance,

Stefan


References:
Using AAI records under EPICS Bruins, Stefan

Navigate by Date:
Prev: Re: Using AAI records under EPICS Kay-Uwe Kasemir
Next: Re: Using AAI records under EPICS Steven Hartman
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: Using AAI records under EPICS Kay-Uwe Kasemir
Next: Re: Using AAI records under EPICS Steven Hartman
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·