摘要: //读取设备管理器的设备 GPIB GPIB[0-9]*::?*INSTR VXI VXI?*INSTR GPIB-VXI GPIB-VXI?*INSTR GPIB和GPIB-VXI GPIB?*INSTR All VXI ?VXI[0-9]::?INSTR ASRL ASRL[0-9]::?*IN 阅读全文
posted @ 2021-11-19 18:37 默*为 阅读(808) 评论(0) 推荐(0) 编辑
摘要: import reimport jsonimport numpy as np# rgex = re.compile(# '(^)?[^\S\n]*/(?:\*(.*?)\*/[^\S\n]*|/[^\n]*)($)?',re.DOTALL | re.MULTILINE)def select_line 阅读全文
posted @ 2021-11-19 18:27 默*为 阅读(452) 评论(0) 推荐(0) 编辑
摘要: """线程刷新python tableWidget闪退/卡顿问题网上很人建议重写qt线程去刷新,感觉蛮烦;用这个封装函数时候,不管是qt线程还是外部线程都测试正常"""def settableitem(self, row, column, text): it = self.tableWidget_2 阅读全文
posted @ 2021-11-19 18:03 默*为 阅读(593) 评论(0) 推荐(0) 编辑