Method, system and device for realizing SCPI command retrieval processing, processor and computer readable storage medium thereof

By sending specific SCPI commands to obtain the command list and explanation information of the instrument, the problem of cumbersome operation of SCPI commands and inconvenient document review in the existing technology is solved, and the rapid retrieval and accurate control of SCPI commands is realized, which improves operation convenience and system integration efficiency.

CN119271271APending Publication Date: 2025-01-07TRANSCOM INSTR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411122344.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

In the prior art, when testing personnel use SCPI commands to control measurement instruments, they need to frequently review thick program control instructions, especially in an environment where they cannot be connected to the network, and the system integration is inconvenient, resulting in cumbersome and inconvenient operation.

Method used

By sending SCPI commands such as "*IDN?" and "SCPI?", we obtain the command list and explanation information of the instrument, and realize the retrieval and control of SCPI commands, simplifying the program control operation of the instrument.

Benefits of technology

It realizes the rapid retrieval and accurate control of SCPI commands, simplifies the operation process, facilitates system integration, and integrates command description documents into the instrument's program control system, improving operation convenience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271271A_ABST
    Figure CN119271271A_ABST
Patent Text Reader

Abstract

The invention relates to a method for achieving SCPI command retrieval processing. The method comprises the following steps that * IDN-is sent; therefore, the SCPI command can be correctly executed; sending basic SCPI retrieval commands to obtain description information of each retrieval command; retrieving appropriate SCPI command description information according to the description information and the requirements; and controlling the instrument by using the SCPI command according to the specific SCPI command description information. The invention further relates to a system and device for conducting SCPI command retrieval processing, a processor and a computer readable storage medium of the processor. By adopting the method, the system, the device, the processor and the computer readable storage medium for realizing the SCPI command retrieval processing, other SCPI command instructions of the instrument can be known only by recording one or two SCPI commands. The implementation mode is simple. And under the condition that the SCPI command standard is met, functions are provided to realize retrieval of the SCPI command. The document is convenient and simple to obtain; system integration is facilitated, and a tester can obtain all SCPI commands and rules supported by the instrument through a simple SCPI command.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of instrumentation technology, in particular to the field of test and measurement, and specifically refers to a method, system, device, processor and computer-readable storage medium for implementing SCPI command retrieval processing. Background Art

[0002] SCPI (Standard Commands for Programmable Instruments) is the industry standard for programmable commands of automated test instruments in the field of test and measurement. SCPI defines the functions of instruments and equipment by using a standard syntax format. Since they all use a unified design standard, the instrument programmable commands are compatible with each other horizontally and vertically. With the development of measuring instruments, SCPI is increasingly widely used in automated test systems. The introduction of the SCPI programmable command standard has significantly improved the efficiency of testers in automated test systems in controlling test and measurement instruments and equipment. Testers only need to program according to the SCPI standard to program different instruments and equipment.

[0003] In order to facilitate testers to program and control instruments, instrument manufacturers generally provide a special program control manual to explain in detail the SCPI commands supported by the instrument. Testers need to retrieve the appropriate SCPI commands in the manual to accurately control the instrument. This method has the following shortcomings:

[0004] (1) Since the instrument does not come with SCPI program control command documentation, if the tester wants to control the instrument through program control commands, he must first find the program control command documentation; sometimes he also needs to go to the instrument manufacturer's official website to download it; for some test environments that cannot connect to the Internet, this is very inconvenient.

[0005] (2) As the number of functions supported by the instrument increases, the program control documentation becomes thicker and thicker, and it is not convenient to search for instructions in the documentation;

[0006] (3) Inconvenient for system integration: For some complex measurement requirements, an interactive system may be used to uniformly manage the program control instructions of different types of instruments. Testers need to manually enter instructions according to the instrument's program control instruction manual to build a control instruction set. Summary of the invention

[0007] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a method, system, device, processor and computer-readable storage medium for implementing SCPI command retrieval processing which are simple to operate, highly accurate and have a wide range of applications.

[0008] In order to achieve the above-mentioned object, the method, system, device, processor and computer-readable storage medium for implementing SCPI command retrieval processing of the present invention are as follows:

[0009] The method for implementing SCPI command retrieval processing is mainly characterized in that the method comprises the following steps:

[0010] (1) Send “*IDN?” to ensure that the SCPI command can be executed correctly;

[0011] (2) Send basic SCPI search commands to obtain description information of each search command;

[0012] (3) Retrieve appropriate SCPI command description information based on the description information and requirements;

[0013] (4) Use SCPI commands to control the instrument according to the specific SCPI command description information.

[0014] Preferably, the step (1) is specifically as follows:

[0015] Connect the instrument via the control host, execute the tool via the SCPI command, send "*IDN?" to the instrument to query the instrument's information, and determine whether the device is controllable. If so, proceed to step (2); otherwise, end the step.

[0016] Preferably, the step (2) specifically comprises the following steps:

[0017] (2.1) Send the command "SCPI?" to the device to query the command list for retrieving SCPI commands supported by the current instrument;

[0018] (2.2) Determine whether to obtain the SCPI command description file, if yes, proceed to step (2.3); otherwise, proceed to step (3);

[0019] (2.3) Use the "SCPI:HELP:FILE?" command;

[0020] (2.4) Control the device according to the SCPI command instructions.

[0021] Preferably, the step (3) specifically comprises the following steps:

[0022] (3.1) Determine whether to view all commands. If yes, use the "SCPI:ALL?" command to query; otherwise, continue with step (3.2);

[0023] (3.2) Determine whether to view the SCPI commands under a certain subsystem. If yes, use the "SCPI:SUBSystem?" command to query; otherwise, continue with step (3.3);

[0024] (3.3) Determine whether to search for a SCPI command containing a certain string. If so, use the "SCPI:FIND?" command to perform a fuzzy search; otherwise, continue with step (4).

[0025] Preferably, the step (4) specifically comprises the following steps:

[0026] (4.1) Determine whether to search for a command with a specific number. If so, use the "SCPI:HELP?" command to query; otherwise, end the steps;

[0027] (4.2) Control the device according to the SCPI command instructions.

[0028] Preferably, the SCPI commands include basic SCPI search commands, SCPI commands for retrieving all SCPI commands, SCPI commands for retrieving SCPI command subsystems, SCPI commands for retrieving SCPI commands according to SCPI command numbers, SCPI commands for fuzzy queries, and commands for obtaining SCPI command description documents.

[0029] The main feature of the system for performing SCPI command retrieval processing according to the method described in claim 1 is that the system comprises:

[0030] The SCPI command parsing module is used to receive the SCPI commands issued by the user and parse them into functions with corresponding functions.

[0031] The SCPI command execution module is connected to the SCPI command parsing module and is used to execute the functional function corresponding to the SCPI command.

[0032] The SCPI command information storage module is connected to the SCPI command execution module and is used to store SCPI command information.

[0033] Preferably, the SCPI command parsing module parses the received SCPI command data stream, parses the function and parameters that the user actually wants to call from the command, and verifies the legitimacy of the parameters.

[0034] The main feature of the device for implementing SCPI command retrieval processing is that the device comprises:

[0035] a processor configured to execute computer executable instructions;

[0036] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the above-mentioned method for implementing SCPI command retrieval processing are implemented.

[0037] The main feature of the processor for implementing SCPI command retrieval processing is that the processor is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the various steps of the above-mentioned method for implementing SCPI command retrieval processing are implemented.

[0038] The main feature of the computer-readable storage medium is that a computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the above-mentioned method for implementing SCPI command retrieval processing.

[0039] By adopting the method, system, device, processor and computer-readable storage medium for implementing SCPI command retrieval processing of the present invention, only one or two SCPI commands (*IDN? and SCPI?) need to be recorded to know other SCPI command descriptions of the instrument. The implementation is simple. In compliance with the SCPI command standard, a function is provided to implement the retrieval of SCPI commands. Since the SCPI command description document is integrated into the program control system of the instrument, the document is easy and simple to obtain; it is convenient for system integration, and the tester can obtain all SCPI commands and rules supported by the instrument through simple SCPI commands. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 The present invention is a flowchart of a method for implementing SCPI command retrieval processing.

[0041] Figure 2 The schematic diagram of the structure of the system for performing SCPI command retrieval processing of the present invention is shown in FIG. DETAILED DESCRIPTION

[0042] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.

[0043] The method for implementing SCPI command retrieval processing of the present invention comprises the following steps:

[0044] (1) Send “*IDN?” to ensure that the SCPI command can be executed correctly;

[0045] (2) Send basic SCPI search commands to obtain description information of each search command;

[0046] (3) Retrieve appropriate SCPI command description information based on the description information and requirements;

[0047] (4) Use SCPI commands to control the instrument according to the specific SCPI command description information.

[0048] As a preferred embodiment of the present invention, the step (1) is specifically:

[0049] Connect the instrument via the control host, execute the tool via the SCPI command, send "*IDN?" to the instrument to query the instrument's information, and determine whether the device is controllable. If so, proceed to step (2); otherwise, end the step.

[0050] As a preferred embodiment of the present invention, the step (2) specifically comprises the following steps:

[0051] (2.1) Send the command "SCPI?" to the device to query the command list for retrieving SCPI commands supported by the current instrument;

[0052] (2.2) Determine whether to obtain the SCPI command description file, if yes, proceed to step (2.3); otherwise, proceed to step (3);

[0053] (2.3) Use the "SCPI:HELP:FILE?" command;

[0054] (2.4) Control the device according to the SCPI command instructions.

[0055] As a preferred embodiment of the present invention, the step (3) specifically comprises the following steps:

[0056] (3.1) Determine whether to view all commands. If yes, use the "SCPI:ALL?" command to query; otherwise, continue with step (3.2);

[0057] (3.2) Determine whether to view the SCPI commands under a certain subsystem. If yes, use the "SCPI:SUBSystem?" command to query; otherwise, continue with step (3.3);

[0058] (3.3) Determine whether to search for a SCPI command containing a certain string. If so, use the "SCPI:FIND?" command to perform a fuzzy search; otherwise, continue with step (4).

[0059] As a preferred embodiment of the present invention, the step (4) specifically comprises the following steps:

[0060] (4.1) Determine whether to search for a command with a specific number. If so, use the "SCPI:HELP?" command to query; otherwise, end the steps;

[0061] (4.2) Control the device according to the SCPI command instructions.

[0062] As a preferred embodiment of the present invention, the SCPI commands include basic SCPI retrieval commands, SCPI commands for retrieving all SCPI commands, SCPI commands for retrieving SCPI command subsystems, SCPI commands for retrieving SCPI commands according to SCPI command numbers, SCPI commands for fuzzy queries, and commands for obtaining SCPI command description documents.

[0063] The system for performing SCPI command retrieval processing according to the method described in claim 1, wherein the system comprises:

[0064] The SCPI command parsing module is used to receive the SCPI commands issued by the user and parse them into functions with corresponding functions.

[0065] The SCPI command execution module is connected to the SCPI command parsing module and is used to execute the functional function corresponding to the SCPI command.

[0066] The SCPI command information storage module is connected to the SCPI command execution module and is used to store SCPI command information.

[0067] As a preferred embodiment of the present invention, the SCPI command parsing module parses the received SCPI command data stream, parses the function and parameters that the user actually wants to call from the command, and verifies the validity of the parameters.

[0068] The device for implementing SCPI command retrieval processing of the present invention, wherein the device comprises:

[0069] a processor configured to execute computer executable instructions;

[0070] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the above-mentioned method for implementing SCPI command retrieval processing are implemented.

[0071] The processor for implementing SCPI command retrieval processing of the present invention is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the various steps of the above-mentioned method for implementing SCPI command retrieval processing are implemented.

[0072] The computer-readable storage medium of the present invention stores a computer program thereon, and the computer program can be executed by a processor to implement the various steps of the above-mentioned method for implementing SCPI command retrieval processing.

[0073] In a specific embodiment of the present invention, in view of the above problems existing in the existing methods, a retrieval method and device for SCPI commands are proposed, comprising:

[0074] (1) Send “*IDN?” to ensure that the SCPI command can be executed correctly;

[0075] (2) Send basic SCPI search commands to obtain description information of each search command;

[0076] (3) Retrieve appropriate SCPI command description information based on the description information and requirements;

[0077] (4) Use SCPI commands to control the instrument according to the specific SCPI command description information.

[0078] The SCPI commands used in the method for SCPI command retrieval include: basic SCPI retrieval commands, SCPI commands for retrieving all SCPI commands, SCPI commands for retrieving SCPI command subsystems, SCPI commands for retrieving SCPI commands according to SCPI command numbers, SCPI commands for fuzzy query, and commands for obtaining SCPI command description documents;

[0079] Optionally, define the SCPI command to be used for SCPI command rule retrieval.

[0080] The embodiment of the present invention provides a SCPI command retrieval method which can be applied to various instruments and meters, such as spectrum analyzers, signal generators and the like. Figure 1 FIG. 1 is a flow chart showing a method for retrieving a SCPI command according to an embodiment of the present invention. Figure 1 , the method comprises at least the following steps:

[0081] (1) Connect the instrument through the control host. The tester uses the SCPI command execution tool (such as NI Max, KeySight Connection Expert, etc.) to send "*IDN?" to the instrument to query the instrument information and ensure that the instrument can be controlled normally through SCPI commands.

[0082] (2) Send the command "SCPI?" to the device to query the command list for retrieving SCPI commands supported by the current instrument;

[0083] (3) If you want to obtain the SCPI command description file from the instrument, you can use "SCPI:HELP:FILE?" to obtain the file;

[0084] (4) If you want to view all SCPI commands supported by the instrument, you can use the "SCPI:ALL?" command to query;

[0085] (5) If you want to view the SCPI commands under a certain subsystem, you can use the "SCPI:SUBSystem?" command to query;

[0086] (6) If you want to find a SCPI command containing a certain string, you can use the "SCPI:FIND?" command to perform a fuzzy query;

[0087] (7) If you want to find specific SCPI command information, you can use the "SCPI:HELP?" command to query;

[0088] (8) According to the SCPI command instructions, send SCPI commands with specific functions to control the instrument.

[0089] The SCPI commands used in the above method are defined and implemented in the instrument of this embodiment, and the description of each command is as follows:

[0090] (1)*IDN?

[0091] This command is used to obtain the instrument's identification code. This command can also be used to determine whether the communication between the control terminal and the instrument is smooth;

[0092] (2)SCPI?

[0093] This command returns the list of commands related to SCPI retrieval supported by the current instrument in text form, one record per line, and the format of each record is "number + space + command + space + brief description";

[0094] (3)SCPI:ALL?

[0095] This command returns a list of all SCPI commands supported by the current instrument in text form. The presentation format is the same as the response content of the "SCPI?" command.

[0096] (4) SCPI: SUBSystem? <num>]

[0097] This command returns the list of SCPI command subsystems supported by the current instrument in text form, one record per line, and the format of each record is "number + space + subsystem name + space + brief description";

[0098] <num>It is an optional parameter, indicating the number of the SCPI command subsystem. When this parameter is included in the command, a list of all commands under this subsystem will be returned, and the presentation format is the same as the response content of the "SCPI?" command.

[0099] (5)SCPI:FIND? <scpi>

[0100] This command is used to retrieve SCPI commands containing specific characters; <scpi>Indicates the string used to fuzzy query SCPI commands; this command returns a list of matching SCPI commands in text form, with the same presentation format as "SCPI?";

[0101] (6)SCPI:HELP? <num>

[0102] This command is used to query the help information of a specific numbered SCPI command; <num>Indicates the number of the SCPI command, which can be found in the list returned by the "SCPI?" or "SCPI:FIND?" command; if there is no match, there is nothing in the list;

[0103] (7)SCPI:HELP:FILE?

[0104] This command is used to return a file byte stream in PDF format; <data>Save it as a file with the suffix ".pdf" to get the SCPI command manual of the instrument;

[0105] The response content is in the form of "# <number><data_length> <data>", # indicates that the subsequent byte content is a byte block (binary block); <number>Represented by one character<data_length> The effective character length of<data_length> express <data>The valid length of the byte stream; for example: #15Hello.

[0106] Based on the same inventive concept, an embodiment of the present invention further provides a SCPI command retrieval device. Figure 2 FIG. 4 is a schematic diagram showing the structure of a SCPI command retrieval device according to an embodiment of the present invention. Figure 2 The SCPI command retrieval device at least includes: a SCPI command parsing module, a SCPI command execution module, and a SCPI command storage module.

[0107] The functions of the components or devices of the SCPI command retrieval device according to the embodiment of the present invention and the connection relationship between the components are now introduced:

[0108] The SCPI command parsing module is responsible for parsing the received SCPI command data stream; parsing the function and parameters that the user actually wants to call from the command, and verifying the legitimacy of the parameters, etc.; this module is responsible for parsing the SCPI command used for SCPI command retrieval to obtain the corresponding function and parameters.

[0109] The SCPI command execution module is responsible for executing the function corresponding to the SCPI command. As for the SCPI command retrieval function, it retrieves or reads the corresponding data from the SCPI command information storage module and returns it to the client.

[0110] The SCPI command information storage module is responsible for storing SCPI command information, including command description, command manual, command rules, etc. The command description includes: number, command name, usage, function description, parameter description, example, purpose, etc. The storage form can be a pure byte stream form, or a structured text form such as Txt, XML or Json, or a database form if conditions permit. The command manual can be a document in PDF format. The command rules can be data in XML format. Users can quickly build the SCPI command set required by other systems to control the device based on the rule file or data.

[0111] The technical solution of the present invention proposes a solution for using SCPI commands conveniently and efficiently, including basic SCPI search commands, SCPI commands for searching all SCPI commands, SCPI commands for searching command subsystems, SCPI commands for fuzzy queries, and commands for obtaining SCPI command description documents. The SCPI command system constructed by the technical solution of the present invention can query SCPI instructions through documents such as manuals, and can also query other SCPI command instructions directly through specific SCPI commands. The problem solved by the technical solution of the present invention is how to better use SCPI commands.

[0112] The specific implementation scheme of this embodiment can refer to the relevant description in the above embodiment, which will not be repeated here.

[0113] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0114] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0115] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0116] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0117] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the corresponding program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0118] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0119] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0120] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0121] By adopting the method, system, device, processor and computer-readable storage medium for implementing SCPI command retrieval processing of the present invention, only one or two SCPI commands (*IDN? and SCPI?) need to be recorded to know other SCPI command descriptions of the instrument. The implementation is simple. In compliance with the SCPI command standard, a function is provided to implement the retrieval of SCPI commands. Since the SCPI command description document is integrated into the program control system of the instrument, the document is easy and simple to obtain; it is convenient for system integration, and the tester can obtain all SCPI commands and rules supported by the instrument through simple SCPI commands.

[0122] In this specification, the present invention has been described with reference to specific embodiments thereof. However, it is apparent that various modifications and variations may be made without departing from the spirit and scope of the present invention. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive.< / data> < / number> < / data> < / number> < / data> < / num> < / num> < / scpi> < / scpi> < / num> < / num>

Claims

1. A method for implementing SCPI command retrieval processing, characterized in that: The method comprises the following steps: (1) Send "*IDN?" to ensure that the SCPI command can be executed correctly; (2) Send basic SCPI search commands to obtain description information of each search command; (3) Retrieve appropriate SCPI command description information based on the description information and requirements; (4) Use SCPI commands to control the instrument according to the specific SCPI command description information.

2. The method for implementing SCPI command retrieval processing according to claim 1, characterized in that: The step (1) is specifically as follows: Connect the instrument via the control host, execute the tool via the SCPI command, send "*IDN?" to the instrument to query the instrument's information, and determine whether the device is controllable. If so, proceed to step (2); otherwise, end the step.

3. The method for implementing SCPI command retrieval processing according to claim 1, characterized in that: The step (2) specifically comprises the following steps: (2.1) Send the command "SCPI?" to the device to query the command list supported by the current instrument for retrieving SCPI commands; (2.2) Determine whether to obtain the SCPI command description file, if yes, proceed to step (2.3); otherwise, proceed to step (3); (2.3) Use the "SCPI:HELP:FILE?" command; (2.4) Control the device according to the SCPI command instructions.

4. The method for implementing SCPI command retrieval processing according to claim 1, characterized in that: The step (3) specifically comprises the following steps: (3.1) Determine whether to view all commands. If yes, use the "SCPI:ALL?" command to query; otherwise, continue with step (3.2); (3.2) Determine whether to view the SCPI commands under a certain subsystem. If yes, use the "SCPI:SUBSystem?" command to query; otherwise, continue with step (3.3); (3.3) Determine whether to search for SCPI commands containing a certain string. If so, use the "SCPI:FIND?" command to perform a fuzzy search; otherwise, continue with step (4).

5. The method for implementing SCPI command retrieval processing according to claim 1, characterized in that: The step (4) specifically comprises the following steps: (4.1) Determine whether to search for a command with a specific number. If so, use the "SCPI:HELP?" command to query; otherwise, end the steps; (4.2) Control the device according to the SCPI command instructions.

6. The method for implementing SCPI command retrieval processing according to claim 1, characterized in that: The SCPI commands include basic SCPI search commands, SCPI commands for retrieving all SCPI commands, SCPI commands for retrieving SCPI command subsystems, SCPI commands for retrieving SCPI commands according to SCPI command numbers, SCPI commands for fuzzy queries, and commands for obtaining SCPI command description documents.

7. A system for performing SCPI command retrieval processing to implement the method of claim 1, characterized in that: The system comprises: The SCPI command parsing module is used to receive the SCPI commands issued by the user and parse them into functions with corresponding functions. The SCPI command execution module is connected to the SCPI command parsing module and is used to execute the functional function corresponding to the SCPI command. The SCPI command information storage module is connected to the SCPI command execution module and is used to store SCPI command information.

8. The method for implementing SCPI command retrieval processing according to claim 7, characterized in that: The SCPI command parsing module parses the received SCPI command data stream, parses the function and parameters that the user actually wants to call from the command, and verifies the legitimacy of the parameters.

9. A device for implementing SCPI command retrieval processing, characterized in that: The device comprises: a processor configured to execute computer-executable instructions; The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for implementing SCPI command retrieval processing described in any one of claims 1 to 6 are implemented.

10. A processor for implementing SCPI command retrieval processing, characterized in that: The processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for implementing SCPI command retrieval processing described in any one of claims 1 to 6 are implemented.

11. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the method for implementing SCPI command retrieval processing as described in any one of claims 1 to 6.