You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

step by step guide for using pyrogue to control the time tool.

Step-by-step guide

  1. source the conda environments described in the parent page
    1. Building/Running TimeTool Software and Firmware
  2. open a python shell
  3. 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()

  • No labels