Experimental Physics and Industrial Control System
|
hi, all:
I want to use cothread to write array data to a waveform record, but can't find how to do this. In the manual of cothread as following: cothread.catools.caput(pvs, values, repeat_value=False, datatype=None, wait=False, timeout=5, callback=None, throw=True)[source]Writes values to one or more PVs. If pvs is a single string then values is treated as a single value to be written to the named process variable, otherwise pvs must be iterable, and unless repeat_value=True is set, values must also be an iterable of the same length in which case values[i]is written to pvs[i]. Otherwise, if a single value is given or if repeat_value=True is specified, values is written to all PVs. seems can only get array data, can't write array data? thanks a lot in advance.
Best wishes
Geyang 2015-07-09
- Replies:
- RE: how to write array data to waveform record in cothread? michael.abbott
- Navigate by Date:
- Prev:
RE: how NOT to update the record Mooney, Tim M.
- Next:
RE: how to write array data to waveform record in cothread? michael.abbott
- 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:
Re: how NOT to update the record Ralph Lange
- Next:
RE: how to write array data to waveform record in cothread? michael.abbott
- 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
·
|