Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alejandrogomezfrieiro/qcodes_local_server


https://github.com/alejandrogomezfrieiro/qcodes_local_server

Last synced: about 13 hours ago
JSON representation

Awesome Lists containing this project

README

        

This python projects consists of two different files. The most important file you'll want to take into account is the server.py file, which allows you to create a Remote server on a computer to use with Qcodes.

In order to install the server.py file, follow the next steps:

- Git clone this repository to a folder, and cd to it
- Create a new environment `conda create -n server` and activate it using `conda activate server`
- Install all the dependencies on the server side using `pip install -r requirements.txt`. This installation includes our version of qcodes.

Use of the server is as follows:
- First open the python file in a text editor. Inspect the file, create instances of all the instruments you need, and add all the instruments to the station object
![Instruments](./images/code_1.png)
- Toggle the comment on the following line, and give the appropriate path and filename. This line creates a new file inside the group's share drive which is required in order to read the uri of the server
![URI](./images/code_2.png)

- Change the local_IP inside the code to the local lab IP of the computer you are opening the remote server in
![IP](./images/code_3.png)

- Now open an Anaconda terminal and make sure you are in the same folder as the code for the server script.
- Double check that you are in the server environment, and run `python server.py`
- This should create the server so that it runs in this terminal. Now you can access this server by its uri.