Morpho Software Reference

Examples

Introduction

Examples

We include data acquisition examples in different categories, using the Python API, using the Morpho Data Server and using either real eMorpho hardware or a device simulator.

Using the MDS

Connect the eMorpho to a USB port on your computer and start the MDS, for instance with the run_servers.cmd. Then look in eMorpho/eMorpho_examples/using_mds/ for an example of interest.

If you want to use the device simulator instead, start the server eMorpho/sim_v3/eMorpho_server.py, or use run_sim_servers.cmd. Then look in the same using_mds folder as above for an interesting example.

Using the API

Connect the eMorpho to a USB port on your computer. Then look in eMorpho/eMorpho_examples/using_api/ for an example of interest.

If you want to use the device simulator instead, look in the using_api_sim folder for an interesting example.