step by step guide for using pyrogue to control the time tool.
Step-by-step guide
- source the conda environments described in the parent page
- open a python shell
execute code below
#!/usr/bin/env python3 import pyrogue.gui import TimeToolDev import sys import time cl = TimeToolDev.TimeToolDev(True) cl.ClinkTest.ClinkTop.ChannelA.DataEn.get() cl.ClinkTest.ClinkTop.ChannelA.DataEn.set(True) time.sleep(3) cl.ClinkTest.ClinkTop.ChannelA.DataEn.set(False) cl.stop()
- if the time tool hardware is setup, then the fiducial counter will start to increment.
Related articles
Overview
Content Tools