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: | Re: waveform changes using subArray |
From: | Hinko Kocevar <[email protected]> |
To: | Andrew Johnson <[email protected]> |
Cc: | [email protected] |
Date: | Mon, 17 Sep 2012 16:39:39 +0200 |
Hi Andrew, On 09/14/2012 04:31 PM, Andrew Johnson wrote:
Hi Hinko, You should also be able to replace the waveform record with an aSub record and implement the sub-array replacement part in C code, which would need fewer records on the IOC and is probably slightly more efficient, but will take more development work to implement.
If I understand the use of aSub correctly, it does not need allow DTYP being set. Since I can't bind any device to it, I was hoping that INPx field(s) might be set to point to INST_IO based link type, something like :
@param(PARAM1=abc PARAM2=123)but that does not seem to work as expected. The problem I see when trying to get link value (this is from init() at IOC startup):
rec->inpa.value.instio.string ==>> '@param(PARAM1=abc' ONLY half of string.. where is the other half? rec->inpa.text ==>> NULL NULL pointer ?For other records such ai, bi, longin I can access INP field value using 'rec->inp.text'.
Thanks, Hinko