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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: c channel access
From: "J. Lewis Muir" <[email protected]>
To: Patrick Thomas <[email protected]>
Cc: [email protected]
Date: Thu, 16 Jul 2009 09:34:20 -0500
On 7/16/09 12:46 AM, Patrick Thomas wrote:
> Hi,
> I should add one other thing to my previous question of:
> "What is the best way to write a program in C that has functions which
> do reads/writes on process variables that are passed to them as
> parameters?"
> 
> I would also like to be able to tell if a PV has changed. Basically I
> would like to use the same functionality as the sequencer, but use calls
> to functions instead of states.

Hi, Patrick.

Daron Chabot's suggestion of looking at caget/caput/camonitor is good.
They use the CA library in EPICS base.

Also, maybe you already know this, but you can call C functions from the
sequencer.  So, depending on what you want to do, you might still be
able to use the sequencer.

Lewis

-- 
J. Lewis Muir
Software Engineer
CARS/IMCA-CAT

References:
c channel access Patrick Thomas

Navigate by Date:
Prev: RE: Escaped strings from fullPathName.pl Mark Rivers
Next: Re: c channel access John Hammonds
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: c channel access Daron Chabot
Next: Re: c channel access John Hammonds
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·