The present disclosure relates to a method for performing circuit tests and a method for creating a file, especially to a method for performing multiple circuit tests with multiple instruments and a method for creating a general form file conforming to a general form applicable to the multiple instruments.
A circuit test is usually performed with an instrument executing test software. Different instruments are usually suitable for different kinds of circuit interfaces and different kinds of communication protocols, respectively. Generally, one test software is dedicated to one instrument instead of multiple instruments. In order to perform multiple circuit tests with multiple instruments, respectively, multiple test software should be developed; in other words, N kinds of test software should be developed for N kinds of instruments respectively, and this takes a lot of development time. In addition, different kinds of test software have their respective user interfaces, and this raises difficulties for a user becoming practiced with the test software.
An object of the present disclosure is to provide a method for performing multiple circuit tests with multiple instruments and a method for creating a general form file conforming to a general form applicable to the multiple instruments and thereby prevent the problems of the prior art.
An embodiment of the method for performing multiple circuit tests with multiple instruments includes the following steps: preparing test software for reading and processing a file conforming to a general form, and preparing the test software for supporting N kinds of communication interfaces of K kinds of instruments, M kinds of communication protocols, and multiple commands executable by the K kinds of instruments, wherein the general form includes a part for interface setting, a part for communication protocol setting, and a function list part, and each of the N, the K, and the M is an integer greater than one; creating multiple general form files conforming to the general form to support the K kinds of instruments, wherein a first file of the multiple general form files is applicable to a first instrument of the K kinds of instruments and a second file of the multiple general form files is applicable to a second instrument of the K kinds of instruments; and when performing a first circuit test of the multiple circuit tests with the first instrument, using the test software to choose the first file for the first circuit test, and when performing a second circuit test of the multiple circuit tests with the second instrument, using the test software to choose the second file for the second circuit test.
Another embodiment of the method for performing multiple circuit tests with multiple instruments includes the following steps: preparing test software for reading and processing a file conforming to a general form, and preparing the test software for supporting N kinds of communication interfaces of K kinds of instruments, M kinds of communication protocols, and multiple commands executable by the K kinds of instruments, wherein the general form includes a part for interface setting and a part for communication protocol setting, and each of the N, the K, and the M is an integer greater than one; creating multiple general form files conforming to the general form to support the K kinds of instruments, wherein a first file of the multiple general form files is applicable to a first instrument of the K kinds of instruments and a second file of the multiple general form files is applicable to a second instrument of the K kinds of instruments; and when performing a first circuit test of the multiple circuit tests with the first instrument, using the test software to choose the first file and select at least one of multiple commands of the first instrument for the first circuit test, and when performing a second circuit test of the multiple circuit tests with the second instrument, using the test software to choose the second file and select at least one of multiple commands of the second instrument for the second circuit test.
An embodiment of the method for creating a general form file conforming to a general form applicable to multiple instruments includes the features: the general form file is for being read and processed by test software which supports N kinds of communication interfaces of K kinds of instruments, M kinds of communication protocols, and multiple commands executable by the K kinds of instruments; the general form file is used for supporting a target instrument of the K kinds of instruments, a target interface of the N kinds of communication interfaces, a target protocol of the M kinds of communication protocols, and a target function of the target instrument, wherein each of the N, the K, and the M is an integer greater than one; and the general form includes a part for interface setting, a part for communication protocol setting, and a function list part. The embodiment also includes the following steps: filling in an instrument filed of the general form with a name of the target instrument, choosing the target interface from an interface menu of the general form, and determining at least one role of the target instrument with a role menu of the general form, and thereby accomplishing the part for interface setting of the general form of the general form file, wherein communication setting required by the interface menu is accessible by a user interface of the test software; when a protocol menu of the general form includes the target protocol, choosing the target protocol from the protocol menu and thereby accomplishing the part for communication protocol setting of the general form of the general form file, wherein the protocol menu is accessible by the user interface; and when the protocol menu does not include the target protocol, adding the target protocol to a protocol page of the general form file and then choosing the target protocol from the protocol menu; and choosing at least one of one or more command(s) executable by the target instrument from a command menu of the general form and thereby accomplishing the function list part of the general form of the general form file, wherein the command menu is accessible by the user interface and the function list part of the general form file is associated with the target function.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiments that are illustrated in the various figures and drawings.
The present specification discloses a method for performing multiple circuit tests with multiple instruments (hereinafter referred to as “circuit test method”) and a method for creating a general form file conforming to a general form applicable to the multiple instruments. The methods of the present disclosure can save the total time for the development of test software applicable to multiple kinds of instruments and can allow a user to operate the multiple kinds of instruments with the same test software.
In an exemplary implementation of the embodiment of
Since those having ordinary skill in the art can refer to the embodiment of
Since those having ordinary skill in the art can refer to the embodiment of
It is noted that people having ordinary skill in the art can selectively use some or all of the features of any embodiment in this specification or selectively use some or all of the features of multiple embodiments in this specification to implement the present invention as long as such implementation is practicable; in other words, the way to implement the present invention is flexible based on the present disclosure.
To sum up, the present invention can save the total time for the development of test software applicable to multiple kinds of instruments and can allow a user to operate the multiple kinds of instruments with the same test software.
The aforementioned descriptions represent merely the preferred embodiments of the present invention, without any intention to limit the scope of the present invention thereto. Various equivalent changes, alterations, or modifications based on the claims of the present invention are all consequently viewed as being embraced by the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
111143496 | Nov 2022 | TW | national |