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

All Samples(4)  |  Call(3)  |  Derive(1)  |  Import(0)

src/p/y/PyVXI11-1.12a12/test_dso_anim.py   PyVXI11(Download)
class TestDSO(AgilentDSO.AglDSO):
    def __init__(osc, hostaddr, device="gpib0,7", proto="tcp"):
        osc.CLS()
        osc.Stop()
        osc.write(":WAV:FORM BYTE")
    import select,threading,atexit
    #hostname="169.254.254.254"
    osc=AgilentDSO.AglDSO(hostname,device="gpib0,7",proto="tcp")
    osc.createSVCThread()
    print "Thread Created"

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")
    import select,threading,atexit
    #hostname="169.254.254.254"
    osc=AgilentDSO.AglDSO(hostname,device="gpib0,7",proto="tcp")
    osc.createSVCThread()
    print "Thread Created"