记录python采集modbus数据传送到pyqt趋势图控件的偶然错误

谁能帮忙解决这个错误,悬赏50块红包!
第1个数据: 563
第2个数据: 219
采集的数据是 219
(563, 219)
第1个数据: 563
第2个数据: 219
采集的数据是 219
(563, 219)
第1个数据: 563
第2个数据: 219
采集的数据是 219
(563, 219)
第1个数据: 563
第2个数据: 219
采集的数据是 219
(563, 219)
第1个数据: 563
第2个数据: 219
采集的数据是 219
(563, 219)
第1个数据: 563
第2个数据: 219
采集的数据是 219
(563, 219)
第1个数据: 563
第2个数据: 219
TypeError
Python 3.8.5: C:\Users\lhd_m\AppData\Local\Programs\Python\Python38\python.exe
Sun Nov 13 15:32:02 2022

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
TypeError: Line() missing 1 required positional argument: ‘yinput’
cause = None
class =
context = None
delattr = delattr’ of TypeError object>
dict = {}
dir =
doc = ‘Inappropriate argument type.’
eq = eq’ of TypeError object>
format =
ge = ge’ of TypeError object>
getattribute = getattribute’ of TypeError object>
gt = gt’ of TypeError object>
hash = hash’ of TypeError object>
init = init’ of TypeError object>
init_subclass =
le = le’ of TypeError object>
lt = lt’ of TypeError object>
ne = ne’ of TypeError object>
new =
reduce =
reduce_ex =
repr = repr’ of TypeError object>
setattr = setattr’ of TypeError object>
setstate =
sizeof =
str = str’ of TypeError object>
subclasshook =
suppress_context = False
traceback = None
args = (“Line() missing 1 required positional argument: ‘yinput’”,)
with_traceback =

The above is a description of an error in a Python program. Here is
the original traceback:

TypeError: Line() missing 1 required positional argument: ‘yinput’

你可能感兴趣的:(电气工作,python,python,pyqt,开发语言)