I want to use cothread to write array data to a waveform record, but can't find how to do this.
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.
thanks a lot in advance.