1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 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 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 <2014> 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | scalcout with streamDevice - request for guidance and example |
From: | <[email protected]> |
To: | <[email protected]> |
Date: | Thu, 4 Sep 2014 10:24:50 +0000 |
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. |