Experimental Physics and
| |||||||||||||||
|
Hi,
Load
this into your IOC:
record(waveform, "cawave")
{ field(DESC, "numeric array") field(NELM, "20") field(FTVL, "DOUBLE") } >>> import
CaChannel
>>> pv=CaChannel.CaChannel('cawave')
>>> pv.searchw() >>> pv.getw() [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] >>> pv.putw(range(12)) >>> pv.getw() [0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] >>> Xiaoqiang
From: [email protected] [mailto:[email protected]] On Behalf Of Ritesh Sugandhi Sent: Wednesday, April 20, 2011 3:48 PM To: [email protected] Subject: Handling of Array in CaChannel library Could I get an example of how to handle sub array and waveforms
records in CaChannel-v1.6 library code.
Best regards,
ritesh Sugandhi
| ||||||||||||||
ANJ, 18 Nov 2013 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |