代码拉取完成,页面将自动刷新
"""the file is dumped, please run ./gui.py"""
"""
import numpy as np
import pyqtgraph as pg
from pyqtgraph.Qt import QtCore, QtGui
from drivers.usbd import USBDevice
from parsers.dataparser import ArrayParser
from plot.waveview import WaveItem"""
if __name__ == '__main__':
print('the file is dumped, please run ./gui.py')
"""import sys
usbd = USBDevice(idVendor=0xffff)
ap = ArrayParser(usbd, 100, None, np.uint16, 128)
ap.start()
win = pg.GraphicsLayoutWidget(show=True)
win.setWindowTitle('WaveItem')
wvi = WaveItem(ap.arr_buf)
win.addItem(wvi)
wvi.start()
if (sys.flags.interactive != 1) or not hasattr(QtCore, 'PYQT_VERSION'):
QtGui.QApplication.instance().exec_()"""
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。