MCA-1K Software Reference

Examples

Introduction

Examples

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

Using the MDS

Connect the MCA-1K to a USB port on your computer and start the MDS, for instance with the run_servers.cmd or by launching mca1k/mds_v3/mca1k_server.py. Then look in mca1k/mca1k_examples/using_mds/ for an example of interest.

If you want to use the device simulator instead, start the server mca1k/sim_v3/mca1k_server.py, or use run_sim_servers.cmd. Then look in the sim_mds folder for an interesting example.

Using the API

Connect the MCA-1K to a USB port on your computer. Then look in mca1k/mca1k_examples/using_api/ for an example of interest.

There are no API examples for use with the simulator.