Summary and Schedule
This is a new lesson built with The Carpentries Workbench.
| Setup Instructions | Download files required for the lesson | |
| Duration: 00h 00m | 1. What is QMI? |
What is QMI? ::: |
| Duration: 00h 10m | 2. ‘Hello World’ |
How are the QMI contexts created? ::: |
| Duration: 00h 25m | 3. Controlling an instrument |
How do I control an instrument? ::: |
| Duration: 00h 40m | 4. Configuring and logging |
What are QMI configuration and log files? ::: |
| Duration: 00h 50m | 5. Accessing an instrument remotely |
How can we access the instruments remotely? ::: |
| Duration: 01h 10m | 6. Create a task and a ‘service’ |
What are tasks and what can they do? Can I run a task as a (background) ‘service’ process? ::: |
| Duration: 01h 40m | 7. Open-source vs internal code |
What is the difference between different QMI codebases? How is the development done for QMI software? Can I make requests and|or contribute? ::: |
| Duration: 01h 50m | 8. Releasing and versioning of QMI code |
How is QMI code released? What are the differences between different types of ways to obtain QMI? ::: |
| Duration: 01h 55m | Finish |
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.
Software Setup
Details
- Requirements:
- Python 3.11+ with Pip, setuptools packages Download Python | Python.org
- Bash-like environment for command-line
Install Git for Windows and use the installed “Git Bash” terminal program. Command Prompt/Powershell might be OK as well.
Note that since recently, Windows installation of Python might not automatically create alias “python[.exe]” for executing Python. Windows should in any case install Python launcher executable called “py” in any case. If you cannot run commands with “python”, use “py” instead, or resolve the issue following these tips.
Use Terminal.app
Use Terminal
- Make a folder for the exercises. For the examples in this course this is expected to be at the user’s home directory (“/home/<username>/” or “C:\Users\<username>\”)
mkdir qmi_course
cd qmi_course
- Make a virtual environment for running exercises
python -m venv venv
# Linux / MacOS Terminal
source venv/bin/activate
# Git bash on Windows
source venv/Scripts/activate
# Powershell, with possibly required step to enable running scripts
set-executionpolicy RemoteSigned -Scope CurrentUser
.\venv\Scripts\Activate.ps1
- Install open-source QMI with Pip
pip install qmi
- Handy to have: IDE software, like PyCharm.