Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alejandrogomezfrieiro/qcodes_local_server
https://github.com/alejandrogomezfrieiro/qcodes_local_server
Last synced: about 13 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/alejandrogomezfrieiro/qcodes_local_server
- Owner: AlejandroGomezFrieiro
- Created: 2020-06-12T05:41:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T10:11:24.000Z (about 2 years ago)
- Last Synced: 2023-03-11T00:39:31.253Z (almost 2 years ago)
- Language: Python
- Size: 267 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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.