Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for analyzing SCPI command

An analysis method and command technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of complex SCPI command set, difficult to quickly identify and classify, etc.

Pending Publication Date: 2019-08-09
RADIOSKY TESTING SERVICES BEIJINGLTD +2
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, cause existing SCPI command set method to have following shortcoming: SCPI command set is very complicated, and command format comprises uppercase character, lowercase character, full-case character and abbreviation character, and command set comprises command part and parameter part, and command part may save Go to multiple parent node commands (the default command); instrumentation mainly uses embedded development tools, and it is difficult to quickly identify and classify ASCII characters and complex SCPI command formats, etc.

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for analyzing SCPI command
  • Method and device for analyzing SCPI command
  • Method and device for analyzing SCPI command

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0056] In order to solve the above technical problem, an embodiment of the present invention provides a method for parsing SCPI commands. The method can be applied to various instruments and meters, such as spectrum analyzers, signal generators and other instruments and meters. figure 1 A schematic flowchart of a method for parsing an SCPI command according to an embodiment of the present invention is shown. see figure 1 , the me...

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

PUM

No PUM Login to View More

Abstract

The invention provides a method and device for analyzing a SCPI command. The method comprises the steps: reading a created XML file which comprises a plurality of SCPI commands of a preset type and command labels corresponding to the SCPI commands; receiving an SCPI command of a preset type or other types, and matching the received SCPI command with a plurality of SCPI commands of one preset typein the XML file according to a preset algorithm; and acquiring a command mark number corresponding to the successfully matched SCPI command, and calling a corresponding underlying function according to the acquired command mark number. According to the embodiment of the invention, when the SCPI commands of other types are received, a flexible preset algorithm is adopted to be matched with the SCPIcommands in the XML file, so that the XML file can automatically support the SCPI commands of other different types only by describing the SCPI commands of one type.

Description

technical field [0001] The invention relates to the technical field of instruments and meters, in particular to a method and device for analyzing SCPI commands. Background technique [0002] SCPI (Standard Commands for Programmable Instruments, Standard Commands for Programmable Instruments) defines a set of standard syntax and commands for controlling programmable test and measurement instruments. The SCPI command is an ASCII (American Standard Code for Information Interchange, American Standard Code for Information Interchange) character string, which is transmitted to the instrument through the physical transport layer. A command consists of a series of keywords, and some of them also need to include parameters. The SCPI programmable instrument standard command is an important command set for instrument development. The user of the instrument controls the instrument through the SCPI command to perform related control, query, and data acquisition operations. The instrume...

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

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/835
CPCG06F16/835
Inventor 屠丹李吉唐超李守凯陆国栋杨莉肖靖陈奎
Owner RADIOSKY TESTING SERVICES BEIJINGLTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products