Design and Development Method of General Software Module for Data Acquisition of Serial Instruments
A technology of data acquisition and general-purpose software, applied in the direction of program control devices, etc., to achieve the effects of enhancing adaptability, saving time, and simple and easy testing
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2017-09-22
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of industrial measurement and control, in particular to a design and development method of a general software module for data collection of serial instruments. Background technique
[0002] For application fields such as environmental monitoring, data acquisition and transmission instruments are generally used to connect to different monitoring instruments through serial ports, and then use the special communication protocol of the instrument to collect their data, and finally summarize and upload to the monitoring center. figure 1 As shown in the figure, the remote data acquisition architecture diagram is shown in the figure. Usually, the industrial computer with sufficient resources is used as the hardware platform of the data collection and transmission instrument, and the WINDOWS or LINUX operating system is selected, and then the special software running on the operating system is developed to realize data colle...
Examples
Embodiment 1
[0037] Embodiment 1: the design and development method of the general software module of the present invention carrying out data acquisition to serial instrument, as figure 2 Shown include:
[0038] Determine the serial port configuration parameters, collect related commands and response analysis methods according to the instrument manual and communication protocol;
[0039] Each instrument writes and develops an XHDLL according to the XHDLL specification;
[0040] Use measurement and control software to debug XHDLL;
[0041] Pass the XHDLL to the user operator through the Internet, and the user operator copies the XHDLL corresponding to the added instrument to the working directory of the measurement and control software;
[0042] The measurement and control software calls XHDLL to collect data;
[0043] The measurement and control software uninstalls XHDLL to free up space.
[0044] The general requirements of the XHDLL specification include the following:
[0045] 1....