EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: how to write array data to waveform record in cothread?
From: Silver <[email protected]>
To: tech-talk <[email protected]>
Date: Thu, 9 Jul 2015 11:11:06 +0800
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(pvsvaluesrepeat_value=Falsedatatype=Nonewait=Falsetimeout=5callback=Nonethrow=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  <20152016  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·