Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/p/y/PyVXI11-1.12a12/test_dso.py   PyVXI11(Download)
def test(hostaddr="169.254.254.254"):
    osc=AgilentDSO.AglDSO(hostaddr, device="gpib0,7", proto="tcp")
    osc.CLS()
    osc.Stop()
    osc.write(":WAV:FORM BYTE")
    osc.set_wf_point_mode("MAX")
    osc.set_wf_point("5000")
    osc.Run()
    time.sleep(0.1)
    osc.Stop()
                break
            time.sleep(0.01)
        osc.Stop()
        print osc.check_SRQ_source(), osc.svc_lock.locked()
        try:
    osc.createSVCThread()
    print "Thread Created"
    osc.Stop()
    osc.set_wf_point_mode("MAX")
    osc.set_wf_point("5000")

src/p/y/PyVXI11-1.12a12/test_dso_anim.py   PyVXI11(Download)
    osc.createSVCThread()
    print "Thread Created"
    osc.Stop()
    osc.set_wf_point_mode("RAW")
    #osc.set_wf_point("5000")