[go: up one dir, main page]

CN111324544A - LabView-based test method and test system - Google Patents

LabView-based test method and test system Download PDF

Info

Publication number
CN111324544A
CN111324544A CN202010170951.9A CN202010170951A CN111324544A CN 111324544 A CN111324544 A CN 111324544A CN 202010170951 A CN202010170951 A CN 202010170951A CN 111324544 A CN111324544 A CN 111324544A
Authority
CN
China
Prior art keywords
test
module
items
labview
item
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
CN202010170951.9A
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.)
Huizhou Desay Battery Co Ltd
Original Assignee
Huizhou Desay Battery Co Ltd
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 Huizhou Desay Battery Co Ltd filed Critical Huizhou Desay Battery Co Ltd
Priority to CN202010170951.9A priority Critical patent/CN111324544A/en
Publication of CN111324544A publication Critical patent/CN111324544A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention discloses a LabView-based testing method and a LabView-based testing system, wherein the method comprises the following steps of: the upper computer creates enumeration controls according to the test items, and at least one enumeration control corresponds to a corresponding test item; assigning a value to each test item; after creating an enumeration control and assigning, importing actual test item configuration, identifying each test item and determining whether to execute a branch test by an upper computer according to a configuration result, and sequencing the identification and execution test sequence according to the assignment size; and after all the actual test items are tested, the upper computer stores the test results. The invention realizes automatic test, meets the compatibility of various product tests, can execute different jumps according to requirements in the test process, improves the detection efficiency, and has the advantages of strong practicability and high universality.

Description

LabView-based test method and test system
Technical Field
The invention relates to the field of testing, in particular to a LabView-based testing method and a LabView-based testing system.
Background
In order to ensure the quality and safety of products, the products need to be detected before leaving a factory, each product needs to be tested on a plurality of items, and different products can have the same test item.
Disclosure of Invention
In order to overcome the problems of long testing time and low testing compatibility in the prior art, the invention provides a testing method and a testing system based on LabView.
The LabView-based test method comprises the following steps of:
the upper computer creates enumeration controls according to the test items, and at least one enumeration control corresponds to a corresponding test item;
assigning a value to each test item;
after creating an enumeration control and assigning, importing actual test item configuration, identifying each test item and determining whether to execute a branch test by an upper computer according to a configuration result, and sequencing the identification and execution test sequence according to the assignment size;
and after all the actual test items are tested, the upper computer stores the test results.
In one embodiment, the detection further comprises the following steps: and according to the fact that the assignment is from small to large or from large to small, sequentially identifying the test items corresponding to the assignment, identifying whether the test items are actual test items, if so, testing, and otherwise, automatically jumping to another test item to continue identification.
In one embodiment, the detection further comprises the following steps: and if the emergency stop signal is received, the upper computer stops the test process and exits the test process.
In one embodiment, after all the actual test items are tested, the upper computer stores test data and test results, wherein the test results are one of qualified, unqualified and abnormal; and when the test result is abnormal, performing abnormal investigation.
The LabView-based test system comprises
The input module is used for inputting the test items;
the control creating module corresponds the enumeration control to the test item, and is in signal connection with the input module;
the evaluation module is used for evaluating each test item and is in signal connection with the input module and the creation control module;
the import module is used for importing the actual test item configuration and is in signal connection with the input module;
the test module is used for respectively testing actual test items and is in signal connection with the import module, the input module, the creation control module and the assignment module;
and the storage module stores the test result and the test data, and is in signal connection with the test module.
In one embodiment, the test module comprises an identification module and a skip module, the identification module is in signal connection with the skip module, the identification module sequentially identifies the test items, judges whether the test items are actual test items, tests if the test items are actual test items, and skips to the next test item to continue identification if the test items are not actual test items.
In one embodiment, the test module further comprises an emergency stop module for stopping the test process when the emergency stop signal is received.
In one embodiment, the test device further comprises a comparison module, the comparison module is in signal connection with the test module and the storage module, the comparison module compares the test data with preset data to obtain a test result, and the result is uploaded to the storage module.
The invention discloses a LabView-based test method and a LabView-based test system, which realize automatic test, meet the compatibility of various product tests, jump according to selected actual test items and unselected test items in the test process, namely execute different jumps according to needs, improve the detection efficiency, and have the advantages of strong practicability and high universality.
Drawings
FIG. 1 is a schematic flow chart of the testing method of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the following drawings and examples.
Referring to fig. 1, a LabView-based testing method includes the steps of:
the upper computer establishes enumeration controls according to the test items, and at least one enumeration control corresponds to a corresponding test item, so that the test software can be compatible with a plurality of test items, the application range is wide, the universality is high, and the corresponding relation between the test items and the controls is illustrated as follows:
test items Standard value
BMS self-check _ life value 1-255
Battery failure code 0x0000000000000000
Hardware fault codes 0x0000000000000000
BMS Power consumption (mA) 120.0-200.0
Heating film test _ external Total pressure (V) 0.0-1.0
Monomer testing TRUE
SOC test 25.0-35.0
…… ……
Assigning values to each test item, and determining the jump of the next test item according to the previous test item after assigning the values, wherein the assignment of the test items is given as an example below;
test items Assignment of value
BMS self-check _ life value 1
Battery failure code 2
Hardware fault codes 3
BMS Power consumption (mA) 4
Heating film test _ external Total pressure (V) 5
Monomer testing 6
SOC test 7
…… ……
After creating an enumeration control and assigning, importing actual test item configuration, and identifying each test item and determining whether to execute a branch test by the upper computer according to a configuration result; the sequence of identification and execution of the test is sorted according to the assignment size, whether the test item is an actual test item is identified, if so, the test is carried out, and if not, the test item automatically jumps to another test item to continue identification; for example, the input test items are a total positive test, a total negative test, a pre-charging test, a heating test and a temperature test, the value assignment is 1-6 respectively, the actual test items are led into the total positive test, the total negative test and the heating test, after the upper computer executes the total positive test and the total negative test, the pre-charging test is not executed, the charging test is jumped to, the charging test is not selected and is not executed, the heating test is jumped to, and the like. And (4) automatically polling each test item by using a state machine engine to test the actual test item.
And in the detection process, if the emergency stop signal is received, the upper computer stops the test process and exits the test process.
After all actual test items are tested, the upper computer stores the test results, the upper computer stores the test data and the test results, the test results are one of qualified, unqualified and abnormal, and when the test results are abnormal, abnormal troubleshooting can be performed, items corresponding to specific test abnormalities are displayed, so that users and managers can know failure problem points conveniently and quickly troubleshoot the problems.
The invention discloses a LabView-based test method, which realizes automatic test, meets the compatibility of various product tests, can jump according to selected actual test items and unselected test items in the test process, namely executes different jumps according to needs, improves the detection efficiency, has the advantages of strong practicability and high universality, can stop the test in the test process, and is flexible and convenient.
A LabView-based test system comprising:
the input module is used for inputting the test items;
the control creating module corresponds the enumeration control to the test item and is in signal connection with the input module;
the evaluation module is used for evaluating each test item and is in signal connection with the input module and the creation control module;
the import module is used for importing the actual test item configuration and is in signal connection with the input module;
the test module is used for respectively testing actual test items and is in signal connection with the import module, the input module, the creation control module and the assignment module; the test module comprises an identification module and a skip module, the identification module is in signal connection with the skip module, the identification module sequentially identifies the test items, judges whether the test items are actual test items, tests if the test items are actual test items, and skips to the next test item to continue identification if the test items are not skip modules; the test module also comprises an emergency stop module, and the emergency stop module is used for stopping the test process when receiving an emergency stop signal;
the storage module is used for storing the test result and the test data and is in signal connection with the test module;
the test device further comprises a comparison module, the comparison module is in signal connection with the test module and the storage module, the comparison module compares the test data with preset data to obtain a test result, and the result is uploaded to the storage module.
The invention also discloses a LabView-based test system, which realizes automatic detection, can meet the requirements of detection of different products or detection of different detection items of the same product, has high practicability, shorter time than the conventional detection and higher detection efficiency.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above functions may be distributed by different functional modules according to needs.
Although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (8)

1. The LabView-based test method is characterized by comprising the following steps: the method comprises the following steps:
the upper computer creates enumeration controls according to the test items, and at least one enumeration control corresponds to a corresponding test item;
assigning a value to each test item;
after creating an enumeration control and assigning, importing actual test item configuration, identifying each test item and determining whether to execute a branch test by an upper computer according to a configuration result, and sequencing the identification and execution test sequence according to the assignment size;
and after all the actual test items are tested, the upper computer stores the test results.
2. The LabView-based testing method of claim 1, wherein: the detection method also comprises the following steps:
and according to the fact that the assignment is from small to large or from large to small, sequentially identifying the test items corresponding to the assignment, identifying whether the test items are actual test items, if so, testing, and otherwise, automatically jumping to another test item to continue identification.
3. The LabView-based testing method of claim 1 or 2, wherein: the detection method also comprises the following steps:
and if the emergency stop signal is received, the upper computer stops the test process and exits the test process.
4. The LabView-based testing method of claim 1, wherein:
after all the actual test items are tested, the upper computer stores test data and test results, wherein the test results are one of qualified, unqualified and abnormal;
and when the test result is abnormal, performing abnormal investigation.
5. The LabView-based test system is characterized in that: comprises that
The input module is used for inputting the test items;
the control creating module corresponds the enumeration control to the test item, and is in signal connection with the input module;
the evaluation module is used for evaluating each test item and is in signal connection with the input module and the creation control module;
the import module is used for importing the actual test item configuration and is in signal connection with the input module;
the test module is used for respectively testing actual test items and is in signal connection with the import module, the input module, the creation control module and the assignment module;
and the storage module stores the test result and the test data, and is in signal connection with the test module.
6. The LabView-based testing system of claim 5, wherein: the test module comprises an identification module and a skip module, the identification module is in signal connection with the skip module, the identification module sequentially identifies the test items, judges whether the test items are actual test items, tests if the test items are actual test items, and skips to the next test item to continue identification if the test items are not actual test items.
7. The LabView-based test system of claim 5 or 6, wherein: the test module further comprises an emergency stop module, and the emergency stop module is used for stopping the test process when receiving the emergency stop signal.
8. The LabView-based testing system of claim 5, wherein: the device comprises a test module, a storage module and a comparison module, wherein the test module is connected with the storage module through signals, the comparison module compares test data with preset data to obtain a test result, and the result is uploaded to the storage module.
CN202010170951.9A 2020-03-12 2020-03-12 LabView-based test method and test system Pending CN111324544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010170951.9A CN111324544A (en) 2020-03-12 2020-03-12 LabView-based test method and test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010170951.9A CN111324544A (en) 2020-03-12 2020-03-12 LabView-based test method and test system

Publications (1)

Publication Number Publication Date
CN111324544A true CN111324544A (en) 2020-06-23

Family

ID=71165669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010170951.9A Pending CN111324544A (en) 2020-03-12 2020-03-12 LabView-based test method and test system

Country Status (1)

Country Link
CN (1) CN111324544A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114328218A (en) * 2021-12-28 2022-04-12 宁夏隆基宁光仪表股份有限公司 A method for controlling the automatic execution of test program of intelligent instrument

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120246514A1 (en) * 2011-03-25 2012-09-27 Taiwan Semiconductor Manufacturing Company, Ltd. Adaptive Test Sequence for Testing Integrated Circuits
CN104142675A (en) * 2013-05-08 2014-11-12 辉达公司 Controllability inspection system and method
WO2016188170A1 (en) * 2015-10-22 2016-12-01 中兴通讯股份有限公司 Test method and device, apparatus and computer storage medium
WO2017096990A1 (en) * 2015-12-07 2017-06-15 中兴通讯股份有限公司 Method and device for automatically generating test script
CN107064703A (en) * 2016-12-23 2017-08-18 惠州市亿能电子有限公司 A kind of high-voltaghe compartment automatic testing method and its system
CN109783354A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 Function test method, terminal device and the medium of application system
CN110737594A (en) * 2019-09-19 2020-01-31 武汉迎风聚智科技有限公司 Database standard conformance testing method and device for automatically generating test cases

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120246514A1 (en) * 2011-03-25 2012-09-27 Taiwan Semiconductor Manufacturing Company, Ltd. Adaptive Test Sequence for Testing Integrated Circuits
CN104142675A (en) * 2013-05-08 2014-11-12 辉达公司 Controllability inspection system and method
WO2016188170A1 (en) * 2015-10-22 2016-12-01 中兴通讯股份有限公司 Test method and device, apparatus and computer storage medium
WO2017096990A1 (en) * 2015-12-07 2017-06-15 中兴通讯股份有限公司 Method and device for automatically generating test script
CN107064703A (en) * 2016-12-23 2017-08-18 惠州市亿能电子有限公司 A kind of high-voltaghe compartment automatic testing method and its system
CN109783354A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 Function test method, terminal device and the medium of application system
CN110737594A (en) * 2019-09-19 2020-01-31 武汉迎风聚智科技有限公司 Database standard conformance testing method and device for automatically generating test cases

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
余晨: "基于 LabVIEW 的射频综合测试仪的控制系统开发", 《中国优秀硕士学位论文全文数据库工程科技II辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114328218A (en) * 2021-12-28 2022-04-12 宁夏隆基宁光仪表股份有限公司 A method for controlling the automatic execution of test program of intelligent instrument

Similar Documents

Publication Publication Date Title
CN109116242B (en) Data processing method and device for power battery
CN113779857B (en) Method and system for intelligent fault diagnosis center of tested aging device
CN107589568B (en) Automatic learning and detecting device and method for LED lamp string
CN112180279A (en) Retired battery health state diagnostic expert system
CN111722969B (en) LEU complete machine automatic test system
CN115840915A (en) Automatic identification method, system, terminal and storage medium for electromechanical equipment fault
CN111324544A (en) LabView-based test method and test system
CN116727288A (en) Integrated circuit testing method and system with multiple Site modes
CN101673233B (en) The Scheduling Method and Scheduling System of Test Items
CN119773511B (en) Multi-module collaborative fault detection and early warning method for hydrogen-electric vehicles
CN111562503A (en) Method for analyzing and processing failure of lithium ion battery charging and discharging equipment
US20210190873A1 (en) Automated battery reconditioning control system
CN113945835B (en) Relay health state online prediction method and device and electronic equipment
CN112486147A (en) Airplane fault detection and maintenance management system and management method thereof
CN115327391B (en) Detection method and device based on echelon battery utilization
CN110907725A (en) Electronic product accelerated life test method based on fault behaviors
CN105868409A (en) Data acquisition system
CN116008787A (en) DUT anomaly identification method, device and equipment for device under test
CN112257257B (en) Fault indicator state detection evaluation method based on state detection information array
CN114035023A (en) Multi-mode automobile core plate clamp judgment method and judgment system
US6216243B1 (en) Permanent failure monitoring in complex systems
CN112547568A (en) Method for automatically detecting and screening large-batch fans and monitoring system thereof
Sarma et al. Data Acquisition of Battery Variables and Estimation of Battery State of Health
CN118396246B (en) Intelligent management method and device for life cycle of industrial key unit
CN213934149U (en) Sustainable recording system for aging test of group power supply products

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200623