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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: waveform record |
From: | <[email protected]> |
To: | <[email protected]> |
Date: | Wed, 8 Jul 2015 08:39:52 +0000 |
Hi, you need to use the –a option of caput to write to arrays, in this case you would type: caput –a twf 5 1 2 3 4 5 (the first “5” is the number of following array elements to write) Regards, Freddie From: [email protected] [mailto:[email protected]]
On Behalf Of Silver hi, when I creat a testApp and a soft waveform record as following:
if I use caput to write the value to the PV like this: caput twf 1 2 3 4 5 Old : twf 40 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
New : twf 40 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 seems the array wasn't written to the PV, why? Thanks a lot in advance. Best wishes Geyang 2015-07-08 |