Page 1 of 1

Cable length measurement and reflectometry

Posted: Fri Jul 10, 2015 12:27 pm
by volker.mailaender
Hi there,

this seems like an interesting project to me as in ham radio you sometimes need to measure cable lenght and other parameters of your cables.
So I installed putty, python and downloaded the python code. Connecting to 192.168.1.100 (red pitaya on Wifi) worked. I started scpi with “scpi-server &” and then executed the code in cmd.exe by “python cable_length.py”. This did not work and failed with: print ‘SCPI >> connect({:s}:{:d}) failed: {:s}’.format(host, port, e)
What am I doing wrong? I changed in the python code also from HOST = NONE to HOST = 192.168.1.100
Can anybody help? Or even better: could somebody do a step-by-step instruction of even video to guide the newbie to his first scpi – python application?

All the best,

Volker

Re: Cable length measurement and reflectometry

Posted: Wed Jul 15, 2015 10:18 am
by Nils Roos
Towards the end of Cable_length.py (line 328) is the address that will actually be used for the connection.

Code: Select all

    IP = '192.168.178.67'