Font Size: a A A

Design And Implementation Of Scpi Command System And Programmable Software Based On The Digital Oscilloscope

Posted on:2015-12-12Degree:MasterType:Thesis
Country:ChinaCandidate:Z ChengFull Text:PDF
GTID:2272330473450895Subject:Measuring and Testing Technology and Instruments
Abstract/Summary:PDF Full Text Request
This subject derives from a cooperative project with the primary domestic equipement manufacturers,the mainly task of subject is to complete the development of program-controlled software system for the digital storage oscilloscope(DSO),the program-controlled function can not be separated by the program-controlled command system,so we take a general standardized command set which is called SCPI(Standard Command For Programming Instrument)from the perspective of the versatility of the instrument,as follows,we have fininshed the design of SCPI command set for this type of DSO and the parser for SCPI command set,as well as the design of program-controlled software for DSO.at first,we has designed a program-controlled command set for DSO,we research and analyse the relations between the program-controlled function for DSO and the specification of SCPI command set,under the premise of meeting the specification of SCPI command and program-controlled function required for DSO,according to the specification of SCPI command set,we has designed the program-controlled command set which has a good versatility and meets the characteristics of this type of DSO.by use of the standard of SCPI command setthen,the following is the design of parser of SCPI command system for DSO, this type of DSO uses a chip called DSP (Ditigal Signal Processor) as it’s data processor which has the ability to receive and execute the program-controlled SCPI command, so, we put the focus on the analysis of the syntactic and structural features of SCPI command which is based on this type of DSO, in reference to the conversion algorithm between the data structure and binary tree, at the same time we take the traversal and storage of linked list into acoount, acrooding to the concept of modular design, we use linked list to store and poll the command nodes and use C as a programming language to complete the design of the parser of SCPI command set for DSO in the development environment of Visual DSP++, the parser of SCPI command has achieved a correctly interpretation and implementation of each command.at last,we have designed a Program-controlled software which is based on honst on computer(PC),because this type of DSO takes the USB device as it’s communicatioi interface,the type of interface chip is Cy68013,under the efforts of communicating with the host computer software,at first,we have completed the design of API function library(packaged as a dynamic link library) with the interface chip of Cy68013,then under the development of virtual instrument software of LabWinodws/C VI,we use C as the programmable language by invoking the API function library and base on the design of SCPI command set for DSO,we have completed the design of a program-controlled software with graphical interface,the software has achieved interactive communications between the host computer (PC) and the next crew machine (DSO)and implemented a variety of program-controlled functions.
Keywords/Search Tags:Digital Oscilloscope, SCPI Command, Programmable Instruments, DLL, Virtual Digital Oscilloscope
PDF Full Text Request
Related items