Exercise - Run the Python virtual disk server

Completed

In this exercise, you'll install and run the Altair emulator virtual disk server.

Before you begin, ensure that Python version 3 is installed on your computer. You can install Python 3 from Python.org.

  1. From a terminal window, install the paho-mqtt Python library by running the following command:

    pip3 install paho-mqtt
    
  2. Go to the AltairPY_virtual_disk_server folder.

  3. Start the Python virtual disk server by running either of the following commands:

    • For Windows, run:

      python PyDiskSvr.py -b test.mosquitto.org -c <YOUR DEVICE CHANNEL ID FROM AZURE IOT CENTRAL>
      
    • For Linux, run:

      python3 PyDiskSvr.py -b test.mosquitto.org -c <YOUR DEVICE CHANNEL ID FROM AZURE IOT CENTRAL>
      
  4. Leave the PyDiskSvr Python application running in the background.