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  2018  2019  <20202021  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  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: AW: device support for IK342
From: "Sintschuk, Michael via Tech-talk" <tech-talk at aps.anl.gov>
To: "Johnson, Andrew N." <anj at anl.gov>, Heinz Junkes <junkes at fhi-berlin.mpg.de>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Fri, 18 Sep 2020 08:06:10 +0000

Hi Heinz, hi Andrew,

 

thanks for the support with the example and tutorial documents. I will try my luck using the convert-devlib.pdf but not with Oleg’s IK342 driver. We actually have kind of a newer one: originally adapted from the IK340 by Peter Mueller in 2001 and modified by Andreas Balzer in 2007. This one was working under EPICS 3.14, but again VxWorks only. I have attached the files here.   

 

 

Von: Johnson, Andrew N. <anj at anl.gov>
Gesendet: Donnerstag, 17. September 2020 18:57
An: Sintschuk, Michael <michael.sintschuk at bam.de>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Betreff: Re: device support for IK342

 

Hi Michael,

 

On Sep 17, 2020, at 8:37 AM, Sintschuk, Michael via Tech-talk <tech-talk at aps.anl.gov> wrote:

 

Also I doubt, that the driver can be build for RTEMS because of these lines in drvIK342.c (looks more like VxWorks only):

 

* IK342_drv_init  Finds and initializes IK342 (currently assumes one card)

 * IK342_driver    interfaces to IK342, writes cmd registers, reads data

*/

 

#include <vxWorks.h>           /* defines VX_READ; STATUS - types/vxTypesOld.h */

#include <stdlib.h>            /* calloc() */

#include <logLib.h>            /* logMsg() */

#include <vme.h>               /* VME_AM_SUP_SHORT_IO */

#include <vxLib.h>             /* vxMemProbe() */

#include <dbDefs.h>            /* ->  epicsTypes.h  ->  stdio.h  ->  printf() */

#include <drvSup.h>            /* DRVSUPFUN */

#include <devLib.h>            /* devRegisterAddress() */

#include <intLib.h>            /* intLevelSet() */

 

Is there a way that I can compile these drivers for RTEMS-4.10.2?

 

So that driver was obviously written for VxWorks (and EPICS 3.13.8, so it’s old). However many years Eric Norum developed a document to help APS staff convert 3.13 VxWorks drivers to 3.14 using devLib, which you might find useful if you want to try that. I don’t know whether it will be helpful with Oleg’s IK342 driver, but it might. It has today’s date on it because I only just generated the PDF file, the latex document source actually dates from 2006.

 

- Andrew

 

-- 

Complexity comes for free, simplicity you have to work for.

 

Attachment: ik342.tar.gz
Description: ik342.tar.gz


References:
device support for IK342 Sintschuk, Michael via Tech-talk
AW: device support for IK342 Sintschuk, Michael via Tech-talk
Re: device support for IK342 Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Re: device support for IK342 Johnson, Andrew N. via Tech-talk
Next: Re: ASLO doesn't work Vishnu Patel via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: device support for IK342 Johnson, Andrew N. via Tech-talk
Next: ASLO doesn't work Vishnu Patel via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 18 Sep 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·