CN112100996A - Method for automatically generating electrical measurement report for antenna housing - Google Patents

Method for automatically generating electrical measurement report for antenna housing Download PDF

Info

Publication number
CN112100996A
CN112100996A CN202010875910.XA CN202010875910A CN112100996A CN 112100996 A CN112100996 A CN 112100996A CN 202010875910 A CN202010875910 A CN 202010875910A CN 112100996 A CN112100996 A CN 112100996A
Authority
CN
China
Prior art keywords
data
measurement report
electrical measurement
antenna housing
radome
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010875910.XA
Other languages
Chinese (zh)
Inventor
李传兰
宋江波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
AVIC Research Institute Special Structures Aeronautical Composites
Original Assignee
AVIC Research Institute Special Structures Aeronautical Composites
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by AVIC Research Institute Special Structures Aeronautical Composites filed Critical AVIC Research Institute Special Structures Aeronautical Composites
Priority to CN202010875910.XA priority Critical patent/CN112100996A/en
Publication of CN112100996A publication Critical patent/CN112100996A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Support Of Aerials (AREA)

Abstract

The invention discloses a method for automatically generating an electrical measurement report for an antenna housing, which comprises the following steps: step S1, establishing a project for managing a plurality of resource files, step S2, designing a user interface which can be divided into a summary data display part, an electric measurement report generation part, a curve display part, a data calling part and a curve part; step S3, compiling a data automatic processing program, step S4, making an electrical logging report word template, setting bookmarks of data, curves and texts according to positions in the template where data need to be inserted, associating the bookmarks with different calculation variables and character variables, setting insertion sentences, moving a cursor to different bookmark positions in sequence, inserting the calculation variables and the data in the characters into the word template in sequence until all the bookmark positions are inserted, and generating an electrical logging report of the radome with a certain number. The antenna housing data processing method and the antenna housing data processing system realize automatic antenna housing data processing and report generation, save labor cost, ensure data processing accuracy, and improve working efficiency and test automation.

Description

Method for automatically generating electrical measurement report for antenna housing
Technical Field
The invention relates to the technical field of antenna housing electrical performance testing, in particular to a method for automatically generating an electrical test report for an antenna housing.
Background
Before the antenna housing leaves a factory, an electrical property test is required to detect whether the antenna housing meets electrical property indexes. The antenna housing needs to complete electrical performance tests of nine states, a dat file with multiple columns of data is obtained after each state is tested, maximum values or minimum values of four indexes of each state need to be recorded by using the existing processing method, curves need to be called for one-by-one searching and calculation for each index, then the data are input into an electrical logging report established under Word, the processing process is extremely complicated, the automation degree is low, errors are easy to occur, high requirements are provided for compiling and checking, and when a large number of antenna housings need to issue reports, the working intensity is high. Especially, under the condition of emergency production, the improvement of the working efficiency is a solution way for completing tasks on time.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a method for automatically generating an electrical measurement report for an antenna housing.
The purpose of the invention is realized by adopting the following technical scheme:
a method for automatically generating an electrical measurement report by a radome comprises the following steps:
step S1, establishing a project for managing a plurality of resource files; each resource file comprises at least an interface (. uir) file, a source (.c) file, a header (.h) file, a Word interface driver (.fp) file and a report Word template;
step S2, designing a user interface which can be divided into the steps of displaying summarized data, generating an electrical measurement report, displaying a curve, calling data and a curve part;
step S3, data automatic processing program is compiled, and the compiling process is as follows: firstly, opening a dat file, wherein the dat file comprises a plurality of columns of test data, placing each column of data in an array with different names, finding out the maximum value and the minimum value of each column of data in the array according to an array processing function, and placing the maximum value and the minimum value in corresponding calculation variables; and reading texts such as the antenna housing number and the like in the interface, and putting the texts into corresponding character variables.
Step S4, making an electrical measurement report word template, inserting data in a calculation variable and characters in a character variable into the word template, and sequentially inserting partial contents of the generated electrical measurement report according to a bookmark sequence until a complete radome electrical measurement report is finally generated; specifically, according to the position of data to be inserted in the template, bookmarks of data, curves and texts are set, the bookmarks are associated with different variables, insertion sentences are set, a cursor is moved to different bookmark positions in sequence, the data in the calculated variables are inserted into the word template until an electrical measurement report is completed, partial content of the electrical measurement report is generated, and the electrical measurement report of the antenna housing with a certain number is generated.
Compared with the prior art, the invention has the beneficial effects that:
the invention realizes the automatic processing and report generation of the radome data, saves the labor cost, and can complete the generation of the report within 2 minutes by only slightly understanding computer operators under the condition that a radome report can be completed within 4 hours by professional technicians originally, thereby greatly improving the working efficiency and the test automation level, reducing the human errors and ensuring the data processing accuracy.
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Drawings
FIG. 1 is an electrical property test report template of the present invention;
FIG. 2 is a software interface of the present invention;
FIG. 3 is an electrical test report generated by the present invention;
FIG. 4 is a diagram of the interface after the software of the present invention is executed.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
The invention relates to a certain antenna housing data processing method, which compiles data automatic processing and report generating software, and the compiling method comprises the following steps:
(1) building a project
Firstly, establishing a project, naming as MRreport, adding a generated user interface (MRreport.uir) file, a source (MRreport.c) file, a header (MRreport.h) file and a word interface driver (MRreport.fp) file into the project, naming uniformly and conveniently checking. Then, a template of Word is generated according to the format specified by the electrical measurement report, a bookmark with a corresponding mark name is inserted into the place where data, a chart and a text need to be written, and the template is added to the project directory. The report template is shown in fig. 1.
(2) Programming user interfaces
A programmatically friendly user interface is shown in fig. 2. The interface is divided into parts such as displaying summarized data 1, generating an electrical measurement report 2, displaying a curve 3, calling data and a curve 4.
(3) Automatic processing program for programming data
According to the indexes of the test items, programs are made, data calculation and calculation data display buttons are defined, and the following functions are realized:
the dat files are automatically searched for a plurality of state transmission efficiency maximum values, aiming error maximum values, main difference maximum values and cross difference maximum values in the data files by using a computer, and the number of peaks is searched and calculated; reading the antenna housing number characters input by the interface text, and placing the antenna housing number characters in different named character variables.
According to the searched data, the programs are further compared to calculate the value required by the index requirement.
(4) Module for compiling automatic generation electric measuring report
The module for compiling the automatic generation electric measurement report realizes the following functions:
the program opens the Word application program first, then opens the Word template stored in the project catalog as shown in fig. 1, and the program controls to move the cursor to the position of the bookmark of the data, curve and text to be written.
(5) And operating software, inputting the radome number in an interface shown in figure 2, clicking a button for completing data calculation, displaying calculation data and generating an electrical measurement report, wherein part of the content of the generated electrical measurement report is shown in figure 3, and the execution interface is changed into a format shown in figure 4, so that the function of generating the radome electrical measurement report with a certain number is completed.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.

Claims (8)

1. A method for automatically generating an electrical measurement report for an antenna housing is characterized by comprising the following steps:
step S1, establishing a project for managing a plurality of resource files;
step S2, designing a user interface, wherein the user interface is divided according to the presented content;
step S3, making an automatic data processing program;
and step S4, making an electrical measurement report word template, inserting data in the calculation variables and characters in the character variables into the word template, and sequentially inserting the generated partial contents of the electrical measurement report according to the bookmark position until a complete radome electrical measurement report is finally generated.
2. The method for automatically generating an electrical measurement report for the radome of claim 1, wherein in step S1, each resource file at least comprises an interface file, a source file, a header file, a Word interface driver file and a report Word template.
3. The method for automatically generating an electrical measurement report for a radome of claim 2 wherein the user interface files, source files, header files, word interface driver files are given uniform nomenclature.
4. The method for automated generation of electrical logging reports for a radome of claim 1 wherein the user interface is divisible into a display summary data portion, a generate electrical logging report portion, a curve display portion, a recall data portion, and a curve portion.
5. The method for automatically generating an electrical measurement report for a radome of claim 1, wherein in step S3, the process of: firstly, opening all the dat files of the antenna housing test in sequence, placing each line of data in different named data arrays, finding out the maximum value and the minimum value of each line of data in the arrays according to an array processing function, and placing the maximum value and the minimum value in corresponding calculation variables.
6. The radome of claim 4, wherein the dat files contain columns of test data.
7. The method for automatically generating an electrical measurement report for a radome of claim 1, wherein in step S3, the process of: reading the antenna housing number characters input by the interface text, and placing the antenna housing number characters in different named character variables.
8. The method for automatically generating an electrical measurement report for the radome of claim 1, wherein bookmarks for data, curves and text are set according to positions in the template where data needs to be inserted, the bookmarks are associated with different calculation variables and character variables, insertion sentences are set, a cursor is moved to different bookmark positions in sequence, and data in the calculation variables and the character variables are inserted into a word template.
CN202010875910.XA 2020-08-26 2020-08-26 Method for automatically generating electrical measurement report for antenna housing Pending CN112100996A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010875910.XA CN112100996A (en) 2020-08-26 2020-08-26 Method for automatically generating electrical measurement report for antenna housing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010875910.XA CN112100996A (en) 2020-08-26 2020-08-26 Method for automatically generating electrical measurement report for antenna housing

Publications (1)

Publication Number Publication Date
CN112100996A true CN112100996A (en) 2020-12-18

Family

ID=73757891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010875910.XA Pending CN112100996A (en) 2020-08-26 2020-08-26 Method for automatically generating electrical measurement report for antenna housing

Country Status (1)

Country Link
CN (1) CN112100996A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714492A (en) * 2014-01-02 2014-04-09 广西电网公司电力科学研究院 Automatic report generating method capable of meeting power distribution network management specific data standards
CN104572597A (en) * 2015-01-12 2015-04-29 浪潮通用软件有限公司 Automatic word analysis report generation method and device
CN109857670A (en) * 2019-02-15 2019-06-07 太仓市同维电子有限公司 A kind of test report automatic generation method based on common template
CA3018457A1 (en) * 2018-09-24 2020-03-24 The Toronto-Dominion Bank Systems and methods for automatic report generation and retaining of annotations in reporting documents after regeneration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714492A (en) * 2014-01-02 2014-04-09 广西电网公司电力科学研究院 Automatic report generating method capable of meeting power distribution network management specific data standards
CN104572597A (en) * 2015-01-12 2015-04-29 浪潮通用软件有限公司 Automatic word analysis report generation method and device
CA3018457A1 (en) * 2018-09-24 2020-03-24 The Toronto-Dominion Bank Systems and methods for automatic report generation and retaining of annotations in reporting documents after regeneration
CN109857670A (en) * 2019-02-15 2019-06-07 太仓市同维电子有限公司 A kind of test report automatic generation method based on common template

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
徐劲拓;马晓宇;晏阳栋;: "天线耦合度自动测试软件的设计", 电子质量, no. 08 *
郭宇欣;: "基于LabVIEW的固冲发动机试验数据处理系统设计", 微计算机信息, pages 50 - 52 *
郭小璇;何国飞;: "基于VC的技术报告标准化编写方法在电力企业中的应用", 广西电力, no. 01 *
魏泰;马宗文;李琳;: "基于易语言的检测报告自动生成和打印系统设计", 兰州工业学院学报, no. 01 *

Similar Documents

Publication Publication Date Title
Damerell et al. The GlycanBuilder and GlycoWorkbench glycoinformatics tools: updates and new developments
CN106598612B (en) Operation method and system for data table in database
CN101339534B (en) Software test apparatus and test method
US8037450B2 (en) System and methods for tracing code generation in template engines
CN109254907B (en) Java-based interface test report generation method and system
CN102541521B (en) Automatic operating instruction generating device based on structured query language and method
CN101118515A (en) Automatically testing method and apparatus for list
CN110968509A (en) Method and system for batch customizing of variables
CN101739340B (en) Method and device for verifying script file
CN112364024A (en) Control method and device for batch automatic comparison of table data
CN112306861A (en) Unittest and Jenkins tool-based interface automatic testing system and method
CN113094252B (en) Test case generation method and device, computer equipment and storage medium
CN105117205A (en) Web page editing method and web page editing device
CN111723009A (en) Framework system of python automated testing series products
CN112100996A (en) Method for automatically generating electrical measurement report for antenna housing
CN115562989A (en) Automatic test sequence conversion method, system, equipment and medium
CN115687338A (en) Method and device for adding identification information to projects in batch and terminal
CN111626024A (en) Method and system for batch processing of SWCC model parameter data based on RETC software
CN105550267A (en) Method and system utilizing Excel format data to process welding performance data
CN113568662B (en) Code change influence range analysis method and system based on calling relation
CN116719682B (en) Data retention test method and system, electronic device and storage medium
CN118093364A (en) Software testing method for instrument, electronic equipment and industrial equipment
CN117076451A (en) Data processing method and device, electronic equipment and storage medium
CN113093688B (en) Input and output testing method and system for new energy vehicle control unit
CN113076092B (en) Processing method and device for A2L file of vehicle-mounted controller

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination