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: soft device for ai record works as sscanf.
From: Dirk Zimoch <[email protected]>
To: Noboru Yamamoto <[email protected]>
Cc: [email protected]
Date: Tue, 24 Feb 2009 18:12:26 +0100
Noboru Yamamoto wrote:
> Thanks Tim and Ben,
> 
> Tim Mooney wrote:
>> Noboru,
>>
>> Similar:
>> The sCalcout record (in the synApps calc module) does this.
>> See http://www.aps.anl.gov/bcda/synApps/calc/calc.html
>>
> 
> I will check it, tomorrow.
> 
> Benjamin Franksen wrote:
>> On Tuesday 24 February 2009 07:50, Noboru Yamamoto wrote:
>>> I'm looking for a soft device support for ai which convert string data
>>> from INPUT link to analogue value, like sscanf in C language.
>>>
>>> Does anyone have this or similar device support ?
>> Have you looked at StreamDevice?
> If I needed to access HW, I woudl use StreamDevice or asynDriver.
> In this case, we already have device support (and stringin records)
> which takes data from HW. So now our user want convert this string into
> number in EPICS database.
> Does StreamDevice work with stringin record in this way?


At the moment, StreamDevice has no driver support to read input from a PV. But
StreamDevice is quite flexible. Thus it should be possible to add such a driver
layer. However, if anyone has already written an asynOctet support that reads
from PVs StreamDevice can use it right away...

I think, at the moment it is easier to use sCalcout.

Dirk


> 
>> http://epics.web.psi.ch/software/streamdevice/
>>
>> Cheers
>> Ben
> 
> 
> Thank you very much again for your help.
> Regards,
> 
> Noboru
> 

-- 
Dr. Dirk Zimoch
Paul Scherrer Institut, WBGB/006
5232 Villigen PSI, Switzerland
Phone +41 56 310 5182

References:
soft device for ai record works as sscanf. Noboru Yamamoto
Re: soft device for ai record works as sscanf. Benjamin Franksen
Re: soft device for ai record works as sscanf. Noboru Yamamoto

Navigate by Date:
Prev: Re: errlogPrintf from iocsh for soft IOCs? Eric Norum
Next: use and utility of permissive record haquin
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: soft device for ai record works as sscanf. Noboru Yamamoto
Next: can't output strings array with gensub haquin
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 ·