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

Subject: Device with INP as a PV_LINK
From: Emmanuel Mayssat <[email protected]>
To: epics <[email protected]>
Date: Tue, 05 Sep 2006 16:50:04 -0700
Hello,

I would like to create a stringin PV that takes an aiRecord and format
it. For example, ai could be the number of clock ticks, while the
stringIn is the formatted date.

1/ I want a simple solution with standard records
2/ I need to link the stringin to the ai

I immediately thought that putting the ai in the inp field and declaring
the device as device(stringin, PV_LINK, <dsetCode>,
<dsetStringIdentifier>) would do the trick.
But dbGetLink(psi->inp,..., &localVariable, ..., DBF_DOUBLE,...,0,0) (or
something like that) complains that inp has an invalid type. 

How can I link the stringin to the ai correctly ?

-- 
Emmanuel Mayssat
Cell: 650/793-0626
Lyncean Technologies, Inc.
"See the invisible"


Replies:
Re: Device with INP as a PV_LINK Tim Mooney

Navigate by Date:
Prev: RE: EPICS Modbus Driver Paul Sichta
Next: StripTool2_5_10_0 display of waveform records? Jon Brinkmann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: EPICS Modbus Driver Paul Sichta
Next: Re: Device with INP as a PV_LINK Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·