CN107733740B - VEE-based communication equipment automatic test method - Google Patents

VEE-based communication equipment automatic test method Download PDF

Info

Publication number
CN107733740B
CN107733740B CN201711007979.5A CN201711007979A CN107733740B CN 107733740 B CN107733740 B CN 107733740B CN 201711007979 A CN201711007979 A CN 201711007979A CN 107733740 B CN107733740 B CN 107733740B
Authority
CN
China
Prior art keywords
test
instrument
software
test method
equipment
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.)
Active
Application number
CN201711007979.5A
Other languages
Chinese (zh)
Other versions
CN107733740A (en
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.)
CETC 54 Research Institute
Original Assignee
CETC 54 Research Institute
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 CETC 54 Research Institute filed Critical CETC 54 Research Institute
Priority to CN201711007979.5A priority Critical patent/CN107733740B/en
Publication of CN107733740A publication Critical patent/CN107733740A/en
Application granted granted Critical
Publication of CN107733740B publication Critical patent/CN107733740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/14Arrangements for monitoring or testing data switching networks using software, i.e. software packages

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an automatic test platform and a test method based on VEE, the automatic test platform and the test method are suitable for automatic test of equipment in the communication field, the platform consists of three parts of automatic test software, data acquisition and instrument and equipment control, wherein the test software is a test platform designed and developed by using VEE language, the data acquisition is used for data analysis and recording, and the instrument and equipment control mainly uses the test software to call each instrument driving library and equipment protocol for control.

Description

VEE-based communication equipment automatic test method
Technical Field
The invention relates to an automatic test platform and a test method based on VEE, which are mainly suitable for an automatic test method of scattering equipment for large-batch high-temperature and low-temperature experiments in the field of communication.
Background
The traditional communication equipment testing method is complex, low in testing efficiency, consumes a large amount of time and labor, is easy to cause misoperation and error recording, is difficult to guarantee the use safety of a testing instrument and the accuracy and consistency of a testing result, has high requirement on testing skills of testers, and is designed and developed to be an automatic testing platform based on VEE communication equipment according to the problems of labor consumption and time consumption in the testing process.
Disclosure of Invention
The invention designs and develops an automatic test platform and a test method based on VEE (virtual environment), aiming at the situation, the platform is suitable for automatic test of equipment in the communication field, and consists of three parts, namely automatic test software, data acquisition and instrument and equipment control, wherein the test software is a test platform designed and developed by using VEE language, the data acquisition is used for carrying out data analysis and recording, and the instrument and equipment control mainly uses the test software to call each instrument driving library and equipment protocol for control.
The technical problem to be solved by the invention is realized by the following technical scheme:
an automatic test method based on VEE comprises the following steps:
(1) connecting a test instrument, tested equipment, a switch matrix and test software;
(2) the test software judges the interface types of all the test instruments and all the tested equipment and carries out the intercommunication of the general instructions;
(3) the test software selects the tested equipment to be tested through switching of the switch matrix, whether the test method of the selected tested equipment is stored in the test method library or not is judged, and if yes, the step (4) is executed; otherwise, executing the step (5);
(4) the test software calls an instrument driver library, a test instrument used for testing is switched through the switch matrix, and the selected tested equipment is tested through the test instrument;
(5) and (4) the test software enters into secondary development, the test method corresponding to the selected tested device is stored in the test method library, and the step (3) is returned.
Wherein, the step (4) comprises the following steps:
(401) the test software calls an instrument driver library and switches the corresponding test instrument through the switch matrix according to the test method corresponding to the tested equipment;
(402) the test instrument tests the tested equipment and collects test data, and the test data is stored in test software;
(403) and the test software analyzes and records the test data, stores the test data into a corresponding table and marks the test data which do not accord with the test standard.
Wherein, the automatic test software is designed and developed by using a visual automatic test language (VEE).
Wherein, the step (2) comprises the following steps:
(201) the testing software judges the interface types of different testing instruments and tested equipment, and judges whether a specific interface is a serial port, a network port or a GPIB (general purpose interface bus);
(202) after the test software judges that the specific interface is finished, the test software performs general instruction intercommunication with the test instrument and the tested equipment to ensure normal connection.
The invention has the following advantages:
1. the method uses VEE language to directly call the function library of the automatic test instrument, and controls the test instrument and the tested equipment, and the operations of result judgment, data storage, log generation and the like.
2. The use of the switch matrix simplifies the change of the test interface by testers and the repeated plugging and unplugging of the instrument and equipment interface, reduces the replacement times, and particularly can complete one-time test without entering an incubator to replace a connecting cable during high-temperature and low-temperature tests.
3. The method can automatically record data in the whole process, does not need manual recording of an operator, avoids human errors and improves the initialization accuracy.
4. Adopts a universal idea and is flexible and convenient to use. The method is simple and convenient to operate and high in reusability, and the testing efficiency is greatly improved.
Drawings
FIG. 1 is a general design of an automatic test platform according to the present invention;
FIG. 2 is a flow chart of the overall connection design of the present invention.
Detailed Description
An automatic test platform suitable for the communication field uses a computer to connect a test instrument, controls the instrument and equipment through the computer, judges and gives prompt tones to replace an interface and the equipment, collects data through the computer, and connects the test instrument and the equipment to be tested through a switch matrix to realize one-key test.
Fig. 1 is a general design diagram of an automatic test platform, which includes automatic test software and mainly performs instrument setting control, device control, data acquisition and data processing. The use of the switch matrix can facilitate the connection between the test instrument and the tested equipment, and the middle switching back and forth is not needed, thereby accelerating the test process and saving the test time.
The automatic test platform is a general test platform, a user can configure test items, test data, specify a test range and select a test method of test equipment, a series of test methods have been developed aiming at the current communication equipment, each method has two choices, and different test methods are selected aiming at different test objects. In addition, secondary development can be performed, and the secondary development can be performed on new products and changed equipment in the future.
The automatic test platform uses a VEE visual automatic test language, the automatic test method uses an object-oriented design idea, the test platform encapsulates common test methods and test modes, and the test platform can be used by direct reference, and directly selects clicking for the developed test methods, so that the secondary development is convenient and simple, and the design of a set of test methods can be completed by simple operation.
Fig. 2 is a design flow chart of the automatic test platform, the test platform mainly includes a test board and a second development board, the test board is a developed board, the board currently includes a test interface and a second development interface, the test interface is a developed equipment test interface, before testing, it only needs to connect according to fig. 1, and then enters a program to select a corresponding test method of a corresponding equipment.
The method for testing the packaged automatic test platform mainly comprises the following steps: the method comprises the steps that a signal source, a frequency spectrograph, a power meter, a noise generator, a network analyzer, a numerical control attenuator and an error code meter are basically common instruments, other instruments need to be newly added, and only a secondary development interface needs to be used for packaging, the VEE supports a dynamic link library for packaging, the method can be realized without modifying upper-layer software and programs, and the system compatibility and the expandability are greatly increased.
The platform can automatically detect the test instrument directly through automatic test software, and call a general instrument driver library and a test method library to complete instrument control and setting. And secondly, the platform automatically detects the connection condition of the equipment to be detected, judges the interface type and realizes the equipment parameter change by using a monitoring instruction. The instrument driving library is judged according to various manufacturers, instrument models and instrument types, and is directly switched to the instrument driving library under the interface after judgment, the instrument driving library consists of instrument libraries of different manufacturers and different models, automatic test software automatically detects the instrument to perform instrument control and data acquisition, and once the self-made instrument appears, the instrument control can be completed by sending an instruction protocol.
The method specifically comprises the following steps:
(1) connecting a test instrument, tested equipment, a switch matrix and test software;
(2) the testing software judges the types of the interfaces of different testing instruments and the tested equipment, judges whether the specific interface is a serial port, a network port or a GPIB, and after the specific interface is judged, the testing software performs general instruction intercommunication with the testing instruments and the tested equipment to ensure normal connection.
(3) The test software selects the tested equipment to be tested through switching of the switch matrix, whether the test method of the selected tested equipment is stored in the test method library or not is judged, and if yes, the step (4) is executed; otherwise, executing the step (5);
(4) the test software calls an instrument driver library, switches test instruments used for testing through a switch matrix, tests the selected tested equipment through the test instruments, and stores test results; the method specifically comprises the following steps:
(401) the test software calls an instrument driver library and switches the corresponding test instrument through the switch matrix according to the test method corresponding to the tested equipment;
(402) the test instrument tests the tested equipment and collects test data, and the test data is stored in test software;
(403) and the test software analyzes and records the test data, stores the test data into a corresponding table and marks the test data which do not accord with the test standard. The form can be excel or word, the test method of the completed equipment is in default format according to the required form, and the form type can be selected only by selecting a path when the test method of the equipment is newly added or modified.
(5) And (4) the test software enters into secondary development, the test method corresponding to the selected tested device is stored in the test method library, and the step (3) is returned.
And completing the automatic test of the communication equipment.

Claims (3)

1. A VEE-based communication equipment automatic test method is characterized by comprising the following steps:
(1) connecting a test instrument, tested equipment, a switch matrix and test software;
(2) the test software judges the interface types of all the test instruments and all the tested equipment and carries out the intercommunication of the general instructions;
(3) the test software selects the tested equipment to be tested through switching of the switch matrix, whether the test method of the selected tested equipment is stored in the test method library or not is judged, and if yes, the step (4) is executed; otherwise, executing the step (5); the packaged test method in the test method library mainly comprises the following steps: the system comprises a signal source, a frequency spectrograph, a power meter, a noise generator, a network analyzer, a numerical control attenuator and an error code meter;
(4) the test software calls an instrument driver library according to the test method, switches the test instrument used for testing through the switch matrix, and tests the selected tested equipment through the test instrument;
(5) the test software enters into secondary development, the test method corresponding to the selected tested equipment is stored in a test method library, and the step (3) is returned, wherein, the dynamic link library technology is used during the secondary development, D LL is made into a warehouse, variables, functions and classes are directly called by using VEE language, and the existing common instrument functions and methods are encapsulated;
wherein, the step (4) comprises the following steps:
(401) the test software calls an instrument driver library and switches the corresponding test instrument through the switch matrix according to the test method corresponding to the tested equipment;
(402) the test instrument tests the tested equipment and collects test data, and the test data is stored in test software;
(403) and the test software analyzes and records the test data, stores the test data into a corresponding table and marks the test data which do not accord with the test standard.
2. The VEE-based communication device automatic test method according to claim 1, wherein the automatic test software is designed and developed using VEE visual automatic test language.
3. The VEE-based communication equipment automatic test method according to claim 1, wherein the step (2) comprises the steps of:
(201) the testing software judges the interface types of different testing instruments and tested equipment, and judges whether a specific interface is a serial port, a network port or a GPIB (general purpose interface bus);
(202) after the test software judges that the specific interface is finished, the test software performs general instruction intercommunication with the test instrument and the tested equipment to ensure normal connection.
CN201711007979.5A 2017-10-25 2017-10-25 VEE-based communication equipment automatic test method Active CN107733740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711007979.5A CN107733740B (en) 2017-10-25 2017-10-25 VEE-based communication equipment automatic test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711007979.5A CN107733740B (en) 2017-10-25 2017-10-25 VEE-based communication equipment automatic test method

Publications (2)

Publication Number Publication Date
CN107733740A CN107733740A (en) 2018-02-23
CN107733740B true CN107733740B (en) 2020-07-31

Family

ID=61213941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711007979.5A Active CN107733740B (en) 2017-10-25 2017-10-25 VEE-based communication equipment automatic test method

Country Status (1)

Country Link
CN (1) CN107733740B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743221B (en) * 2018-12-25 2021-06-04 中国电子科技集团公司第五十四研究所 Test method suitable for communication equipment
CN111984232A (en) * 2020-07-31 2020-11-24 中国航空工业集团公司济南特种结构研究所 Radar cover testing software design method based on signal flow

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105403788B (en) * 2015-12-07 2018-05-04 中国电子科技集团公司第十研究所 Electronic equipment on satellite automates ground testing system
CN106502904A (en) * 2016-11-02 2017-03-15 四川长虹电器股份有限公司 A kind of UI automated testing methods of intelligent appliance equipment application

Also Published As

Publication number Publication date
CN107733740A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
CN107907815B (en) Single-board dual-channel FT (FT) mass production test and yield analysis system and method
CN107908507B (en) double-CPU multichannel FT (FT) mass production test system and method
CN101718841B (en) Automatic checking system and method of relaying protection device
CN109917276A (en) Multifunction circuit board automatic test equipment, test macro and test method
CN111610393A (en) Automatic test system and method for multi-channel broadband microwave integrated component
CN104483959A (en) Fault simulation and test system
CN107505520B (en) Scene type intelligent automatic test platform and method
CN108489510B (en) Extensible platform circuit box automatic test system based on PXI bus
CN111934788A (en) Radio frequency index testing method and system of head-mounted equipment and related components
CN107733740B (en) VEE-based communication equipment automatic test method
CN106227630B (en) Detection system for embedded wireless module
CN217606027U (en) Universal chip verification system
CN206698228U (en) Very high frequency(VHF) transceiver hardware of automatic test system
JPWO2005036402A1 (en) Test program debug device, semiconductor test device, test program debug method, and test method
CN108776723B (en) Test system self-checking adapter connection line generation method, device, equipment and storage medium
US20060100841A1 (en) Automatic system and method for testing mobile phone
CN116506007A (en) Optical module firmware testing system and method
CN116668323A (en) Automatic test system and method based on ultrashort wave communication equipment
CN108051767B (en) A kind of automatic diagnosis method for integrated circuit tester
CN112379252B (en) Primary and secondary fusion pole switch test system
CN112929101B (en) Automatic test system and method applied to transmitter
CN114924546A (en) Calibration system and method for hardware-in-loop test
CN112346921A (en) Automatic function test system
CN114828061A (en) Radio frequency test method, device, equipment and readable storage medium
CN116953418B (en) Radio frequency test method, system, equipment and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant