RPC for Swabian Instruments' Time Tagger
Project description
!!! This is a development alpha version !!!
Time Tagger RPC implementation using Pyro5.
Install
> pip install TimeTaggerRPC
Run server
Start the server on a PC with the Time Tagger connected.
> TimeTaggerRPC-server
Client example
Control Time Tagger remotely over the network.
import matplotlib.pyplot as plt
from TimeTaggerRPC import cleint
with client.createProxy(host='localhost', port=23000) as TT:
tagger = TT.createTimeTagger()
hist = TT.Correlation(tagger, 1, 2, binwidth=10, n_bins=2000)
hist.startFor(int(10e12), clear=True)
x = hist.getIndex()
while hist.isRunning():
plt.pause(0.1)
y = hist.getData()
plt.plot(x, y)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
TimeTaggerRPC-0.0.1a1.tar.gz
(11.0 kB
view hashes)
Built Distribution
Close
Hashes for TimeTaggerRPC-0.0.1a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 129c086f639b009e2ff49c1175146026945d2daaea8dc388a9f71c21151a6539 |
|
MD5 | aa1ca6b269abd7ea6ab7f611b201e99a |
|
BLAKE2b-256 | 7f19ba66a368e535635301646ed3fe7357ded292e1d3bcf9c873f3b908a66487 |