Hi,
im trying to get the python-script "pars_noise_sd.py" which TiN wrote to work, but with the downloaded Python Interpreter 3.6 its just shows me the error:
Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>>
========== RESTART: C:\MyMeasurements\HP34420A_1\parse_noise_sd.py ==========
| Multimeter | Range | NPLC | Counts | Sq.sum | Average | SD | SD,uV |
Traceback (most recent call last):
File "C:\MyMeasurements\HP34420A_1\parse_noise_sd.py", line 15, in <module>
o.write ("|Multimeter|Range|NPLC|Counts|Sq.sum|Average|SD|SD,uV|\r\n")
TypeError: a bytes-like object is required, not 'str'
Then it produces an empty output.txt-file.
I use the HP34420A-example from the xdevs-DMM-Noise-website to log my Keysight 34465A-DMM and the produced .csv-files all look good to me.
Maybe someone can take a look at the problem? I want to contribute to the DMM-Noise-Database with the mentioned 34465A and also with my VXI-based HP E1410A 6.5Digit-DMM.
Attached is a produced example file. The file-ending .xls needs to be changed back to .csv (forum-upload-restrictions
).