Page History
...
Code Block |
---|
def event ( self, evt, env ) :
channel = 0
acqData = evt.getAcqValue( self.address, channel, env)
if acqData :
self.counter+=1
wf = acqData.waveform() # returns a waveform array of numpy.ndarray type.
self.data.append(wf)
|
At the end of the job, take the average and plot it:
...
Overview
Content Tools