diff --git a/ohmpi/ohmpi.py b/ohmpi/ohmpi.py index e67269a3075932445d68e4455690df52db8a5510..5f3b6d5d136cf7e06f4ebeef014c0ddabcd87239 100644 --- a/ohmpi/ohmpi.py +++ b/ohmpi/ohmpi.py @@ -190,7 +190,7 @@ class OhmPi(object): f.write('A,B,M,N,t,pulse,polarity,current,voltage\n') # write full data with open(fw_filename, 'a') as f: - dd = last_measurement['fulldata'] + dd = last_measurement['full_waveform'] aa = np.repeat(last_measurement['A'], dd.shape[0]) bb = np.repeat(last_measurement['B'], dd.shape[0]) mm = np.repeat(last_measurement['M'], dd.shape[0])