Experimental Physics and Industrial Control System
|
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
when I creat a testApp and a soft waveform record as following:
record(waveform, "twf")
{
field(SCAN, "Passive")
field(NELM, "40")
field(FTVL, "SHORT")
}
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?
|
- References:
- waveform record Silver
- Navigate by Date:
- Prev:
waveform record Silver
- Next:
how NOT to update the record Tasaddaq Khan
- 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
- Navigate by Thread:
- Prev:
waveform record Silver
- Next:
how NOT to update the record Tasaddaq Khan
- 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
|
ANJ, 16 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|