• 记录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’

  • 相关阅读:
    猿创征文|我这样看国产数据库TBase
    将STM32 Flash的一部分虚拟为大容量存储设备 USB_Device
    日志存档及解析
    C++(17):模板嵌套类的.template及::template
    Python学习笔记第五天(Number)
    Flutter快学快用06 有无状态组件:如何巧妙地应用 Flutter 有无状态组件
    网络安全-ACL应用
    spark调优案例分享
    如何理解FFT中的频谱泄露效应?
    [附源码]SSM计算机毕业设计医学季节性疾病筛查系统JAVA
  • 原文地址:https://blog.csdn.net/gkbxs/article/details/127832872