Control your Time Tagger remotely with Python

by Igor Shavrin | on 07 June 2021

The Time Tagger is a great instrument for data acquisition whenever you detect, count, or analyze single photons. You can quickly set up a time correlation measurement, coincidence analysis, and much more. However, at some point in your project, you may want to control your experiment remotely. One option is to use remote desktop software like VNC, TeamViewer, Windows Remote Desktop, etc. What if you want to control your remote experiment programmatically? Are you using multiple computers and want to collect data from many of them at the same time? The solution for this is a remote control interface. Luckily, the need to control programs remotely is very common and many software libraries has been created to cover the challenge of dealing with network sockets and messaging protocols.

Pyro5 is a package for Python programming language developed by Irmen de Jong. It makes implementation of remote access to your Python program extremely easy. We have prepared a detailed tutorial and a functional example that employs Pyro5 for practically seamless access to the Time Tagger API over the network. In addition, we provide an open source Python package so you can start faster, learn from or modify the package code to your needs.