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

Subject: Re: tpmac distribution
From: "Oleg A. Makarov" <[email protected]>
To: Mark Rivers <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Tue, 23 Aug 2016 18:38:05 -0500
Mark,

I have tpmac compiled with epics 3.15.4.
You are right, you have to modify devPmacRamEvent_read function to adapt to eventRecord  change (see code below).

Regards,
Oleg Makarov


/*******************************************************************************
 *
 * devPmacRamEvent_read - EPICS device support read function for event record
 *
 */
LOCAL long devPmacRamEvent_read (struct eventRecord *pRec) {
/* char *MyName = "devPmacRamEvent_read"; */
/* long status; */
  PMAC_RAM_DPVT *pDpvt;

  pDpvt = (PMAC_RAM_DPVT *) pRec->dpvt;

  /* in the epics 3.15 val type is changed to string of 40 chars from 16-bit */
  sprintf (pRec->val, "event %d", pDpvt->dpramData.ramLong);
  pRec->udf = FALSE;

  return(0);
}

On 8/23/2016 5:00 PM, Mark Rivers wrote:

I am trying to build tpmac on EPICS 3.15.4.  It fails for a number of reasons, one of which is that the VAL field of the eventRecord has changed from this in base 3.14.12.5

 

        epicsUInt16     val;    /* Event Number To Post */

 

to this in base 3.15.4

 

    char                val[40];    /* Event Name To Post */

 

The only versions of tpmac I can find are here:

 

http://www.gmca.aps.anl.gov/TPMAC2/

 

The latest version there is 3-11 from 2012.  That Web site says:

 

Finally, there are plans to start a public code repository at Github, Launchpad, or Sourceforge, but we are not there yet.”

 

There is also this:

 

http://controls.diamond.ac.uk/downloads/support/tpmac/

 

This is also based on 3-11 and is what I am trying to build.

 

The Delta Tau controllers are the standard beamline motion systems at Diamond, Australian Synchrotron, and NSLS-II.  Yet there seems to be no Github or other public repository for this controller software where the latest source can be found, and where we can contribute fixes.

 

It is really frustrating for others of us who are using this controller that we have to struggle like this, when each of these institutions must have a working internal system.

 

Mark

 

 

 

 



References:
tpmac distribution Mark Rivers

Navigate by Date:
Prev: APS and EPICS Website Maintenance tomorrow Andrew Johnson
Next: Re: tpmac distribution Daron Chabot
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: tpmac distribution Mark Rivers
Next: Re: tpmac distribution Daron Chabot
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 23 Aug 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·