So I finally had time to write the python script and I hope it will work for you. I tested it with the data file you send me and it looks promising. you can download the python script here: https://we.tl/qrw06uuDMz
The script uses the pyserial library to connect to your com port. If you don’t have this library you can install it by typing “pip install pyserial” (without the quotes) into the windows command prompt. To run the script type “python dvm1200.py -i <input port> -o <output port>” into the command prompt where you need to replace <input port> by the profilic com port connected to the multimeter and <output port> by one of the com ports of the com0com. So for example if COM3 is connected to the multimeter and COM8 and COM9 are my com0com pair I would type: python dvm1200.py -i COM3 -o COM8
Now all the incoming data from COM3 is redirected to COM8. My script doesn’t only redirect, it also does some specific error checking on the incoming data such that only valid data is forwarded to COM8 which will prevent the popup of error messages in the pc-link program.
The best order to connect everything is as follow:
- connect the multimeter to the pc (don’t enable the PC-LINK mode yet)
- start my script with the correct input and output port. leave it open in the background.
- start the PC-LINK software (the version you can download from the velleman website) as administrator and set the corresponding com0com pair port as input. So in my case this would be COM9 since COM8 was used as output in my python script. When the correct COM port is selected press “start”.
- Enable the multimeter in PC-LINK mode.
Now fingers crossed and everything should work. My python script will print the incoming/forwarded data to the command prompt. Also there is a counter which increases only if data is successfully forwarded.