-
Notifications
You must be signed in to change notification settings - Fork 10
Updating Registry
Hlab, lab-197 edited this page Nov 13, 2012
·
1 revision
To add servers to the registry, first open the RegistryEditor executable. Open the folder: Nodes/yourLABRADNODE (see Environemt Variables, to find out about your LABRADNODE). Add the paths to any servers you want Labrad to have available using the form: ['path/to/server', 'path/to/another/server', ... ].
To check that this was succesful, start labrad, the node server, and python from the terminal:
workon labrad
twistd -n labradnode
python
import labrad
Then connect to the node server:
cnx = labrad.connect()
node = cnx.nodeserver()
Check for availability of servers:
node.availabe_servers()
It may be necessary to refresh servers list first:
node.refresh()