XML-based parsing method for SCPI (The Standard Commands for Programmable Instruments)

An analysis method and command technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as error-prone, difficult to reuse, complex analysis process, etc., and achieve high scalability and versatility. complex effect
CN103559296AInactive Publication Date: 2014-02-05THE 41ST INST OF CHINA ELECTRONICS TECH GRP

Patent Information

Authority / Receiving Office
CN Β· China
Current Assignee / Owner
THE 41ST INST OF CHINA ELECTRONICS TECH GRP
Publication Date
2014-02-05
Estimated Expiration
Not applicable Β· inactive patent

Smart Images

  • Figure 1
    Figure 1
Patent Text Reader

Abstract

The invention provides an XML-based parsing method for SCPI, which comprises the following steps: 1, describing the SCPI by adopting XML documents; 2, judging whether the SCPI are received or not; 3, performing XML document enquiry, and judging whether matches exist or not; 4, acquiring command numbers and parameter information; 5, processing the SCPI. Through the adoption of the scheme, the SCPI parser has high expandability and universality, so that the problem that the conventional SCPI parser is complex in structure and difficult to reuse is solved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention belongs to the technical field of testing, and in particular relates to an XML-based SCPI command parsing method. Background technique

[0002] SCPI (The Standard Commands for Programmable Instruments) is an important standard for program-controlled commands of test and measurement instruments. It has been widely used in various program-controlled test and measurement instruments. The use of SCPI standards is also the development trend of programmable instruments. After receiving the SCPI command, the instrument parses the command statement in the SCPI command set according to the SCPI command syntax format specification, and obtains information such as command code, parameter type, parameter value, and parameter unit to complete the operation required by the command.

[0003] To use SCPI commands to control the instrument, the first step is to translate the SCPI commands input by the user into a language that the instrument can recognize...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More