Tutorial
Livestreaming Xsens-DOT data to Windows [[user>Alex|Alex]] 2025:05
\\
\\
\\
====== Livestreaming Dot Data ======
==== Introduction ====
This document contains documentation on receiving live data with the XSENS DOT sensors, designed by Movella.
==== Required software ====
* Python 3.10+ (If on Windows: use Microsoft Store for easy installation)
* Movella DOT PC SDK (Windows)
* Visual Studio Code (For ease of use).
==== Steps ====
* **1. [[https://www.microsoft.com/store/productId/9PJPW5LDXLZ5|Download Python 3.10+]]**
* Get it from the Microsoft Store.
* //(Using the Microsoft Store is recommended for easy installation on Windows).//
* **2. [[https://code.visualstudio.com/|Download Visual Studio Code]]**
* //(This application provides a more user-friendly terminal and code editing experience).//
* **3. Download the Movella DOT PC SDK (Windows)**
{{ :public:tutorial:movelladotdownloadimg.png?200|}}
* **Option A: [[https://www.movella.com/support/software-documentation|Go to Movella's website to find the latest SDK download link]]** (Recommended)
* On their page, find the section titled "**Latest stable software - PC**".
* Within that section, click on Movella's link (usually named something like "**Movella DOT PC SDK (Windows)**") to initiate the download.
* **Option B: Direct Link (Example for version 2023.6)**
* [[https://www.movella.com/hubfs/Downloads/Software/DOT_PC_SDK_2023.6.zip|**Download Movella DOT PC SDK (Windows) 2023.6** directly here]]
* **Important:** //This direct link is for a specific version. Always check the Movella Software Documentation page (Option A) to ensure you are downloading the latest stable version.//
* **4. Install the SDK**
* Once downloaded, follow the **[[https://base.movella.com/s/article/Movella-DOT-PC-SDK-Guide?language=en_US|Official Movella DOT PC SDK Installation Guide]]** for detailed setup instructions.
* **5. Verify Python Installation**
* Open Visual Studio Code (or your preferred terminal).
* Check your Python version by typing the following command and pressing Enter: python --version
* **6. Follow SDK Tutorial and Install SDK Package**
* Continue following the rest of the tutorial provided in the **[[https://base.movella.com/s/article/Movella-DOT-PC-SDK-Guide?language=en_US|SDK Installation Guide]]**.
* **Notice:** //Depending on your Windows version, some Windows versions require you to also add the full location path of the file to your commands. e.g.://
* **Install the SDK Python Package:**
The `pip install` for the SDK requires you to fill in the specific file/version name of the `.whl` file found in the SDK download.
pip install "path\to\movelladot_pc_sdk--cp-none-win_amd64.whl
Example for SDK 2023.6 and Python 3.10 (cp310), assuming default installation path:
pip install "C:\Program Files\Movella\DOT PC SDK 2023.6\SDK Files\Python\x64\movelladot_pc_sdk-2023.6.0-cp310-none-win_amd64.whl"
* **Install Example Requirements:**
If you plan to run the example scripts, install their requirements. Adjust the path if your SDK is installed elsewhere:
pip install -r "C:\Program Files\Movella\DOT PC SDK 2023.6\SDK Files\Examples\python\requirements.txt"
//(This is instead of just `pip install -r requirements.txt` if you are not in that specific directory).//
* **Run an Example Script:**
To test, run one of the example Python scripts. Adjust the path if your SDK is installed elsewhere:
python "C:\Program Files\Movella\DOT PC SDK 2023.6\SDK Files\Examples\python\movelladot_pc_sdk_receive_data.py"
//(The original document mentions `movelladot_pc_sdk_write.py` in the final paragraph, but `movelladot_pc_sdk_receive_data.py` is used in its example command. `_receive_data.py` is often a good first script
to test receiving data.)//
If done correctly, the example script (e.g., `movelladot_pc_sdk_receive_data.py`) will scan for a DOT sensor, link to it, reset the DOT, and display its values. After approximately 10 seconds, the DOT may be reset again, and the values will be displayed again. After some time, the script will disconnect from the DOT.
You can modify the Python scripts provided in the SDK examples to achieve your specific goals.
==== Appendix ====
* [[https://github.com/utwente-interaction-lab/XSensDotLiveStream| Github VS code]]**
* [[https://base.movella.com/s/article/Movella-DOT-PC-SDK-Guide?language=zh_TW|Movella DOT PC SDK Guide (Chinese Traditional)]]
* [[https://www.movella.com/support/software-documentation|Movella Software Documentation]]
* [[https://base.movella.com/s/article/Movella-DOT-PC-SDK-Guide?language=en_US&t=1703083478981|Movella DOT PC SDK Guide (English US)]]