Supercharge Your Innovation With Domain-Expert AI Agents!

Serial port communication system based on LabVIEW passive receiving type

A serial port communication and serial port technology, which is applied in the field of serial port communication, can solve the problems that other cycles cannot run smoothly, the serial port is unstable, empty, etc.

Active Publication Date: 2014-01-15
江西婺华通信工程有限责任公司
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Question 1: The general passive receiving serial communication system reads data by continuously querying the buffer with a loop structure, but sometimes the serial data is incomplete or empty. read, resulting in an incomplete data
Question 2: When using LabVIEW to read data from the serial port, it will continuously query the serial port buffer until the data is received, which increases the processor and resource usage. If there are many other loop structures in the program, it will It will cause other loops in the system to not run smoothly, making the system run slowly
Question 3: Due to the instability of the serial port itself, it is easy to be disturbed by external electromagnetic fields and other external interference, which may cause the data sent by the lower computer to have problems such as inconsistent data types and incomplete data.

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
  • Serial port communication system based on LabVIEW passive receiving type
  • Serial port communication system based on LabVIEW passive receiving type
  • Serial port communication system based on LabVIEW passive receiving type

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Describe the present invention below in conjunction with specific embodiment:

[0023] In this embodiment, the serial port communication system is connected with the external controller and the test instrument through lines, and the serial communication hardware line only needs three lines (sending line, receiving line, and signal ground line) to realize full-duplex asynchronous serial communication. The serial port communication line can connect two serial devices. Prepare two 9-pin serial port terminals, prepare 3 wires (preferably use 3-core shielded wire), solder the wires to the terminal blocks, and the 2 pins, 3 pins, and 5 pins of the serial port terminal 1 correspond to the serial port terminals respectively 2's 3 feet, 2 feet, 5 feet. The external controller and the test instrument are connected through 4-way interface signals, including start, reset, emergency stop, and completion signal communication. The reset, emergency stop, and completion interface signa...

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 provides a serial port communication system based on the LabVIEW passive receiving type. The serial port communication system comprises an external communication module, a trigger module, a serial port base communication module, a data detecting and re-detecting module and a data storage module. The external communication module and an external controller achieve communication through two shared variables, the trigger module carries out judgment according to a trigger shared variable data valve sent in by the external communication module, and the serial port base communication module comprises an initialization module, a data transmission and processing module and a data receiving module. The data detecting and re-detecting module judges whether the data type and the length of received data are the same as the data type and the length set by a testing instrument, and the data storage module stores the data which is qualified by judging of the data detecting and re-detecting module. According to the system, only corresponding serial port parameters need to be set for displaying data collected by hardware, the collected data can be stored and replayed in real time, and research on the collected data in the future can be convenient. Tests show that the stability and the reliability of the system are high.

Description

technical field [0001] The invention belongs to the field of serial communication, in particular to a passive receiving serial communication system based on LabVIEW. Background technique [0002] Serial communication is the simplest and most common way of data communication between computer and external equipment and between computer and test system. The serial communication uses the built-in serial port of the computer, and the user does not need to purchase any special hardware, as long as a serial port line can achieve the purpose of sending or receiving data without losing the accuracy of the test. The serial port forms a virtual instrument system with a PC computer through the RS-232 serial port bus, which is mainly suitable for low-speed test systems. It has the characteristics of simple interface and convenient use. Therefore, serial port communication is widely used in data acquisition, monitoring and instrument control and other occasions. The emergence of the gra...

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): G06F11/26G06F9/44
Inventor 杨旭东徐海亭王俊徐继贺平庆伟
Owner 江西婺华通信工程有限责任公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More