Skip to content
Snippets Groups Projects

Idle

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Stephan Boekelmann
    Edited
    idle.py 325 B
    import os, time, sys
    import tables as tb
    import matplotlib.pyplot as plt
    import numpy as np
    import panda2.panda2 as panda2
    
    dut = panda2.Panda2()
    dut.init()
    
    dut.set_ts_inj(False)
    dut.set_rx(True)
    dut.mask_rx(False)
    
    time.sleep(1)
    data = dut.get_data_now()
    dut.mask_rx(True)
    
    for x in data:
      print(hex(x)) 
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment