Cable length measurement and reflectometry

Tell us how your experiment is running with Red Pitaya
Post Reply
Posts: 1
Joined: Mon Jun 08, 2015 9:09 pm

Cable length measurement and reflectometry

Post by volker.mailaender » Fri Jul 10, 2015 12:27 pm

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 (red pitaya on Wifi) worked. I started scpi with “scpi-server &” and then executed the code in cmd.exe by “python”. 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 =
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,


Nils Roos
Posts: 1441
Joined: Sat Jun 07, 2014 12:49 pm
Location: Königswinter

Re: Cable length measurement and reflectometry

Post by Nils Roos » Wed Jul 15, 2015 10:18 am

Towards the end of (line 328) is the address that will actually be used for the connection.

Code: Select all

    IP = ''
All in a day's work for Bicycle Repair Man

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 1 guest