EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: ca_put on an IOC
From: Andy Foster <[email protected]>
To: "Hammonds, John P." <[email protected]>
Cc: [email protected]
Date: Tue, 25 Feb 2003 17:27:09 +0000 (GMT)
Hi John,

Isn't the INPC field of the calc record an input link to the C field?
I would have assumed that you need to do the put to
"gppd0A:GasC:g1calc.C".

I guess the put to "gppd0A:GasC:gas1tol" works because you are writing
to the VAL field of the AI and then this is being pulled into field C
of the calc via the input link INPC when the calc processes.

Cheers,

Andy


On Tue, 25 Feb 2003, Hammonds, John P. wrote:

> I have an application running on an IOC.   This application reads setup
> information for an experiment out of a file and then does a ca_put (C
> language call on IOC) to put values into record fields.  I was recently
> trying to do a put to the INPC field of a record
> (gppd0A:GasC:g1calc.INPC) and keep getting an ECA_PUTFAIL error on the
> ca_put.  The associated ca_search seems to go fine.  Also, caput
> (extensions program on the host) has no problem putting values into this
> field.
>
>
>
> When I switch the database to have an ai record feed the INPC and do a
> caput to the ai record (gppd0A:GasC:gas1tol) I have no problems.
>
>
>
> Does anyone have any ideas of why the first method does not work?
>
>
>
> Thanks,
>
> John Hammonds
>
>
>
>
>
>
>
>

--------------------------------------------------------------------
Observatory Sciences Limited    Email: [email protected]
William James House             Tel: 44 - (0)1223 - 508259
Cowley Road                     Fax: 44 - (0)1223 - 508258
Cambridge, CB4 0WX, UK          http://www.observatorysciences.co.uk


References:
ca_put on an IOC Hammonds, John P.

Navigate by Date:
Prev: RE: Serial driver for Linux Martin Pieck
Next: Long expressions using MAX and MIN in CALC fields Redman, Russell O.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: ca_put on an IOC Hammonds, John P.
Next: Long expressions using MAX and MIN in CALC fields Redman, Russell O.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·