Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Message analysis method and system based on LabVIEW, electronic equipment and medium

A message parsing and message technology, applied in the field of message parsing, can solve the problems of inconvenient test host computer development, high cost, unfavorable software secondary development, etc.

Inactive Publication Date: 2020-02-07
SHANGHAI ELECTRICGROUP CORP
View PDF8 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the prior art, if LabVIEW is used to directly call the relevant API (application programming interface) in the existing XNET, the analysis of the CAN message can be completed, but XNET only supports the relevant CAN hardware of NI, and for the commonly used PCAN (PEAK-System Corporation A CAN tool of the company), kvaser CAN (a CAN tool of kvaser company) and other hardware are not compatible; if CANoe (CAN open environment, a bus development environment) equipment is used, the analysis of CAN messages can also be completed, but Its cost is too high, and it is not easy to integrate with the development of the test host computer, which is not conducive to the secondary development of the software

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message analysis method and system based on LabVIEW, electronic equipment and medium
  • Message analysis method and system based on LabVIEW, electronic equipment and medium
  • Message analysis method and system based on LabVIEW, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0076] The present invention provides a kind of message parsing method based on LabVIEW, comprises the following steps:

[0077] Step S101, parsing the target DBC file to generate a DBC Information cluster array.

[0078] Step S102, obtaining the physical value of the signal according to the CAN message and the DBC Information cluster array.

[0079] Step S103: Obtain the ID and data array of the CAN message according to the DBC Information cluster array and the physical value of the signal.

[0080] In step S101, call XNET Cluster to obtain DBC file; Call XNET Cluster attribute node, obtain Frames attribute; Circular call XNET Frame attribute node, to obtain ID and Signals attribute, the number of times of cyclic call is the array size of Frames attribute; cyclic call XNET The Signal attribute node gets the attribute of the CAN message, and the number of loop calls is the array size of the Signals attribute; generates a DBCInformation cluster array according to the attribute...

Embodiment 2

[0091] image 3 A schematic structural diagram of an electronic device provided in this embodiment. The electronic device includes a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, the LabVIEW-based message parsing method of Embodiment 1 is implemented. image 3 The electronic device 30 shown is only an example, and should not limit the functions and scope of use of the embodiments of the present invention.

[0092] Electronic device 30 may take the form of a general-purpose computing device, which may be a server device, for example. Components of the electronic device 30 may include, but are not limited to: at least one processor 31 , at least one memory 32 , and a bus 33 connecting different system components (including the memory 32 and the processor 31 ).

[0093] The bus 33 includes a data bus, an address bus, and a control bus.

[0094] The memory 32 may include a volatile memory...

Embodiment 3

[0100] This embodiment provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the LabVIEW-based message parsing method of Embodiment 1 are implemented.

[0101] Wherein, the readable storage medium may more specifically include but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device or any of the above-mentioned the right combination.

[0102] In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes program code, and when the program product runs on the terminal device, the program code is used to make the terminal device execute The steps of the packet parsing method based on LabVIEW of embodiment 1.

[0103] Wherein, the program code for executing the present invention can be written in any comb...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a message analysis method and system based on LabVIEW, electronic equipment and a medium. The message analysis method based on LabVIEW comprises the following steps: analyzinga target DBC file to generate a DBC Information cluster array; obtaining a physical quantity value of the signal according to the CAN message and the DBC Information cluster array; and obtaining an IDand a data array of the CAN message according to the DBC Information cluster array and the physical quantity value of the signal. According to the method, the CAN network protocol DBC file is analyzed by using the XNET tool of the LabVIEW, calling and setting of any other control are not needed in the analysis process, the software dependence is low, and the analysis reliability is high. According to the method, the received CAN message and the sent CAN message are analyzed, and the analysis process is bidirectional.

Description

technical field [0001] The invention belongs to the technical field of message analysis, and in particular relates to a message analysis method, system, electronic equipment and medium based on LabVIEW (a program development environment). Background technique [0002] It is necessary to call the .NET (a development platform) container in LabVIEW. Since the .NET container is based on the .NET Framework (a development platform), the compatibility between the computer system and the LabVIEW software must be considered when calling. It is easy to make mistakes when publishing; it is necessary to use the ZEDGraph (a control) control and define the size, but the meaning of the ZEDGraph control and how to define its size are not given in the background technology; the message parsing process is not specified in detail, and the CAN ( Controller Area Network (Controller Area Network) message matching method; only discusses the analysis method of receiving messages from the CAN bus, a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/06
CPCH04L69/22
Inventor 李然吴炎花陈建平徐吉林
Owner SHANGHAI ELECTRICGROUP CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products