记录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 = <class ‘TypeError’>
context = None
delattr = <method-wrapper ‘delattr’ of TypeError object>
dict = {}
dir =
doc = ‘Inappropriate argument type.’
eq = <method-wrapper ‘eq’ of TypeError object>
format =
ge = <method-wrapper ‘ge’ of TypeError object>
getattribute = <method-wrapper ‘getattribute’ of TypeError object>
gt = <method-wrapper ‘gt’ of TypeError object>
hash = <method-wrapper ‘hash’ of TypeError object>
init = <method-wrapper ‘init’ of TypeError object>
init_subclass =
le = <method-wrapper ‘le’ of TypeError object>
lt = <method-wrapper ‘lt’ of TypeError object>
ne = <method-wrapper ‘ne’ of TypeError object>
new =
reduce =
reduce_ex =
repr = <method-wrapper ‘repr’ of TypeError object>
setattr = <method-wrapper ‘setattr’ of TypeError object>
setstate =
sizeof =
str = <method-wrapper ‘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’

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值