配置LIN Diagnostic Frames的Session中出现错误-1074384547

更新 Jul 10, 2023

适用于

硬件

  • USB-8506

驱动

  • NI-XNET

问题详述

我正在尝试使用USB-8506创建一个传输LIN Diagnostic Frames的LIN Session。当我运行 XNET Create Session (Frame Output Single-Point).vi时,出现错误-1074384547并显示以下消息:

Error -1074384547 occurred at XNET Create Session (Frame Output Single-Point).vi

Possible reason(s):

NI-XNET:  (Hex 0xBFF6315D) You have tried to create a session using a frame that is incompatible with the selected session type. For example, you are using a LIN diagnostic frame with a single point output session.


我该如何解决该错误?

解决方案

发生错误是因为LIN Diagnostic Frames是不支持single-point session。

请参考NI范例查找器>>硬件输入与输出>> LIN >> NI-XNET >> Advanced 的范例LIN Diagnostic Frames Master.viLIN Diagnostic Frames Slave.vi