Setup a new Sinara system - Jayich-Lab/artiq GitHub Wiki

Setup a new Sinara system

This part describes how to set up a new Sinara system.

First, make sure the system's hardware is connected correctly (EEM ports, clock connections) and find a json file corresponding to the system connections. For a M-labs supported system, the file might be in https://git.m-labs.hk/M-Labs/sinara-systems/src/branch/master, or the file can be edited based on other json configurations.

Second, connect the Sinara system with DC power, ethernet, and external clock if applicable. I think external clock needs to be applied before the DC power but I am not sure. Find the ip address and change the ip address if needed (see manual).

Then, download or compile the gateware for kasli. If the system is supported by M-labs, likely a command conda install artiq-board-kasli-ucsb would work (after setting up the software as in https://github.com/Jayich-Lab/artiq/wiki/Software-Setup). This will download a gateware corresponding to the artiq version in the software setup. ucsb should be replaced by the variant name, found as the filename in https://git.m-labs.hk/M-Labs/sinara-systems/src/branch/master. If compiling, follow https://forum.m-labs.hk/d/75-configuring-a-custom-kalsi-crate. Flash the Sinara system with the new gateware (see manual).

We also need to have a devices.py file that correspond to the setup. This file can be generated automatically with python -m artiq.frontend.artiq_ddb_template your_variant.json -o device_db.py. Then we can run artiq_master. Devices names in devices.py can be changed for easier use.