labrad / pylabrad

python interface for labrad
50 stars 31 forks source link

connection lost while connecting localhost with pylabrad #352

Open pppplin opened 6 years ago

pppplin commented 6 years ago

Hi, i'm new to labrad I just installed pylabrad in Windows7, when I try labrad.connect('localhost'), the "connection lost" error occurred. Would you lost any possible reasons for this error? I noticed that there are two related issues, but is there anyway that I could still use pylabrad instead of moving to scalalabrad? Or scalalabrad is the recommended interface? Many thanks.

zibrov-zlobin commented 6 years ago

scalalabrad - is the labrad manager that controls all the servers pylabrad is a python wrapper to connect to a labrad manager and communicate with it. you need to install scalalabrad and pylabrad.

pppplin commented 6 years ago

Does it means that in order to connect to a labrad server, I need to install scalalabrad? I am using the sourceforge version, is it outdated?

maffoo commented 6 years ago

@pppplin, yes the sourceforge version of labrad is old and no longer supported. You need to run the scalabrad manager, and then as @zibrov-zlobin said both the servers and pylabrad clients will connect to the manager in order to communicate with each other.