If you're using the python module 'corr', you can increase the default timeout for establishing the connection. For example:
import corr
r = corr.katcp_wrapper.FpgaClient(roachIP, roachPort, timeout=60)

On 12/15/2014 05:53 PM, Michael D'Cruze wrote:
Hi Ross,

OK thanks for that, I plan to give that a try tomorrow. Any ideas about Corr? 
Corr seems the more promising route.

BW
Michael

-----Original Message-----
From: Ross Williamson [mailto:[email protected]]
Sent: 15 December 2014 22:51
To: Michael D'Cruze
Cc: [email protected]
Subject: Re: [casper] KATCP clients not connecting

Hi Michael,

The MATLAB katcp is very very old.  If you look you will see that it looking 
for a response from tcpborphserver that it no longer sends - You need to hack 
the katcp.m file to match what the server is currently sending

Ross

On Mon, Dec 15, 2014 at 1:50 PM, Michael D'Cruze 
<[email protected]> wrote:
Hi everyone



I’m trying to connect to the board using the Corr and Matlab katcp
clients, however through both the connection times out. I think I have
all the python libraries installed, and I definitely have the ICT
toolbox installed in Matlab. I’ve tried disabling the firewall. Katcp does work 
through telnet….



Has anybody seen this issue before? Is there something I’m missing?



Very grateful for any suggestions.



Michael



PS (possibly related problem): I installed Anaconda after this
(thought Corr might not like RHEL6.x’s standard python 2.6.6) to bring
my python and packages up-to-date and into sync, but katcp wouldn’t
then reinstall to the new version. It was complaining of missing
setuptools, but in conda I had version 7.0 installed, and there was
definitely some version installed in RHEL’s python as well…. If it
won’t install full-stop I’ll just get rid of Anaconda but again if
anyone’s seen this issue before and has any suggestions please pass them along 
J.


--
Ross Williamson
Research Scientist - Sub-mm Group
California Institute of Technology
626-395-2647 (office)
312-504-3051 (Cell)


Reply via email to