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. (Deprecated, but good links) 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()
    
    
  4. if the time tool hardware is setup, then the fiducial counter will start to increment.