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

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

src/p/y/PyVXI11-1.12a12/test_dso.py   PyVXI11(Download)
    osc.TRG()
    osc.check_SRQ_source()
    osc.svc_lock.acquire(False) #non-block
    print osc.check_SRQ_source(), osc.svc_lock.locked()
    while 1:
        osc.svc_lock.acquire(False) #non-block
        s=time.time()
        osc.write("*OPC")
        while osc.svc_lock.acquire(True): # block
            if osc.qOPC():
                break