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  <20142015  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  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: scalcout with streamDevice - request for guidance and example
From: "Martin L. Smith" <[email protected]>
To: <[email protected]>
Date: Thu, 4 Sep 2014 06:27:27 -0500
Linda,

I missed the fact that you might just need streamApp.dbd but I have not used
this support so I am not really sure which you need or if you need both. Looks
like if it was me I think that I would try this one first though.

Marty


On 09/04/2014 05:24 AM, [email protected] wrote:
I am trying to use an scalcout record with a stream device protocol  and  I need
to capture a string value  in one of the string fields.  I already have calcout
records working to do an equivalent job to capture a numeric field.  The
protocol makes use of the field name syntax to access the record letter fields.

The stream device online manual states scalcout  records are allowed since v2-1
and work since 2-6-1 of calc module, the IOC is built for linux-x86 with
streamDevice v2-5dls2, v3-1 of calc, with v2-8-1 of sscan and v1-8dls2-9 of
genSub under EPICS R3.14.11 and I have added dbd and library entries to the
Makefile for these modules.

I copied my functioning calcout record (with DTYP stream), changed it to
scalcout and edited it to call the protocol.

dbLoadRecords results in the following error message for the scalcout records:

Can't set "TS-VA-TURBO-03:GET:PARAM:DATATYPE4.DTYP" to "stream"

Examining the built dbd file I can find

device(calcout,CONSTANT,devCalcoutSoft,"Soft Channel")

device(calcout,CONSTANT,devCalcoutSoftCallback,"Async Soft Channel")

device(calcout,INST_IO,devcalcoutStream,"stream")

device(scalcout,CONSTANT,devsCalcoutSoft,"Soft Channel")

It appears that only Soft Channel DTYP is available to scalcout.  Was it wrong
of me to expect DTYP stream to be available or am I missing something from the
IOC or module builds?

Is there a working example of scalcout and stream being used together I can look at?

Thanks,

Linda


--

This e-mail and any attachments may contain confidential, copyright and or
privileged material, and are for the use of the intended addressee only. If you
are not the intended addressee or an authorised recipient of the addressee
please notify us of receipt by returning the e-mail and do not use, copy,
retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not
necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments
are free from viruses and we cannot accept liability for any damage which you
may sustain as a result of software viruses which may be transmitted in or with
the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and
Wales with its registered office at Diamond House, Harwell Science and
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom




References:
scalcout with streamDevice - request for guidance and example Linda.Pratt

Navigate by Date:
Prev: Re: scalcout with streamDevice - request for guidance and example Martin L. Smith
Next: RE: scalcout with streamDevice - request for guidance and example Linda.Pratt
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: scalcout with streamDevice - request for guidance and example Linda.Pratt
Next: org.csstudio.auth plug-ins Silver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·