Cable length measurement and reflectometry

Tell us how your experiment is running with Red Pitaya
Post Reply
volker.mailaender
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 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

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 Cable_length.py (line 328) is the address that will actually be used for the connection.

Code: Select all

    IP = '192.168.178.67'

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 19 guests