Пример #1
0
def startMainWindow():
    app = QApplication([])
    #threadAc = ThreadAcquisition()
    threadAc = FakeThreadAcquisition()
    
    threadAc.start()


    #process class
    sp = simpleSignalProcess(threadacquisition = threadAc)
    sp.show()
  
  
    #some possible independant views to add
    #s1 = SimpleScopefft(threadacquisition = threadAc, fft_size = 512, port = 9001)
    #s1.show()
    
    #s2 = SimpleScopefft(threadacquisition = threadAc, fft_size = 512, port = 9002)
    #s2.show()
    
    #bs = BlinkScope(threadacquisition = threadAc, port = 9003)
    #bs.show()

    #hs = HeartScope(threadacquisition = threadAc, port = 9004)
    #hs.show()
    
    #f1 = SlindingTimeFreq(threadacquisition = threadAc)
    #f1.show()

    app.exec_()
Пример #2
0
def startMainWindow():
    app = QApplication([])
    #threadAc = ThreadAcquisition()
    threadAc = FakeThreadAcquisition()

    threadAc.start()

    #process class
    sp = simpleSignalProcess(threadacquisition=threadAc)
    sp.show()

    #some possible independant views to add
    #s1 = SimpleScopefft(threadacquisition = threadAc, fft_size = 512, port = 9001)
    #s1.show()

    #s2 = SimpleScopefft(threadacquisition = threadAc, fft_size = 512, port = 9002)
    #s2.show()

    #bs = BlinkScope(threadacquisition = threadAc, port = 9003)
    #bs.show()

    #hs = HeartScope(threadacquisition = threadAc, port = 9004)
    #hs.show()

    #f1 = SlindingTimeFreq(threadacquisition = threadAc)
    #f1.show()

    app.exec_()
Пример #3
0
def test_SlindingTimeFreq():
    from acquisition import FakeThreadAcquisition
    app = QApplication([])
    t = FakeThreadAcquisition(buffer_size = 2**16)
    t.start()
    w = SlindingTimeFreq(threadacquisition = t)
    w.show()

    app.exec_()
Пример #4
0
def test_SimpleSpectrum():
    from acquisition import FakeThreadAcquisition

    app = QApplication([])
    t = FakeThreadAcquisition()
    t.start()
    w = SimpleSpectrum(threadacquisition=t, fft_size=512)
    w.show()

    app.exec_()
Пример #5
0
def test_SimpleSpectrum():
    from acquisition import FakeThreadAcquisition
    
    app = QApplication([])
    t = FakeThreadAcquisition()
    t.start()
    w = SimpleSpectrum(threadacquisition = t, fft_size = 512)
    w.show()


    app.exec_()
Пример #6
0
def test_signalProcess():
    from acquisition import FakeThreadAcquisition

    app = QApplication([])
    t = FakeThreadAcquisition()
    t.start()

    sp1 = simpleSignalProcess(threadacquisition=t)
    sp1.show()

    app.exec_()
Пример #7
0
def test_signalProcess():
    from acquisition import FakeThreadAcquisition
    
    app = QApplication([])
    t = FakeThreadAcquisition()
    t.start()
   
    sp1 = simpleSignalProcess(threadacquisition = t)
    sp1.show()

    app.exec_()
Пример #8
0
def test_SimpleScope():
    from acquisition import FakeThreadAcquisition
    app = QApplication([])
    t = FakeThreadAcquisition()
    t.start()
    w = SimpleScope(threadacquisition=t, scope_size=1345)
    w.show()

    w1 = SimpleScope(threadacquisition=t)
    w1.show()

    app.exec_()
Пример #9
0
def test_viewScope():
    from acquisition import FakeThreadAcquisition
    app = QApplication([])
    t = FakeThreadAcquisition()
    t.start()

    w1 = viewScope(threadacquisition = t)
    w1.show()
    


    app.exec_()
Пример #10
0
def test_SimpleScopefft():
    from acquisition import FakeThreadAcquisition
    
    app = QApplication([])
    t = FakeThreadAcquisition()
    t.start()
   # w = SimpleScopefft(threadacquisition = t, scope_size = 1345)
   # w.show()
    
    w1 = SimpleScopefft(threadacquisition = t)
    w1.show()

    app.exec_()