CN102466761B - Method and system for obtaining completed spectral data and apparatuses - Google Patents

Method and system for obtaining completed spectral data and apparatuses Download PDF

Info

Publication number
CN102466761B
CN102466761B CN201010531106.6A CN201010531106A CN102466761B CN 102466761 B CN102466761 B CN 102466761B CN 201010531106 A CN201010531106 A CN 201010531106A CN 102466761 B CN102466761 B CN 102466761B
Authority
CN
China
Prior art keywords
spectrum data
frequency spectrum
frequency
complete
host computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010531106.6A
Other languages
Chinese (zh)
Other versions
CN102466761A (en
Inventor
王悦
王铁军
李维森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rigol Technologies Inc
Original Assignee
Rigol Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rigol Technologies Inc filed Critical Rigol Technologies Inc
Priority to CN201010531106.6A priority Critical patent/CN102466761B/en
Publication of CN102466761A publication Critical patent/CN102466761A/en
Application granted granted Critical
Publication of CN102466761B publication Critical patent/CN102466761B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

The invention relates to a method and a system for obtaining completed spectral data and apparatuses. The method comprises: a spectrum analyzer respectively stores completed spectral data that are generated by completed frequency sweeping and uncompleted spectral data that are generated by uncompleted frequency sweeping in independent storage areas; a PC host computer sends a spectral data reading request to the spectrum analyzer, wherein the request contains a type of spectral data that is going to be read; the spectrum analyzer receives the spectral data reading request and sends spectral data with a corresponded type to the PC host computer, wherein the sent spectral data carries a flag bit that indicating whether a frequency sweeping state is completed or not; and the PC host computer receives the spectral data and the flag bit is parsed from the spectral data; and a type of spectral data that are going to be read at the next time is determined according to the flag bit information and the reading process of the next-time spectral data is executed. According to the above-mentioned scheme in the invention, completed spectral data are obtained, so that a host computer of a PC terminal can present a frequency sweeping characteristic of a spectrum apparatus during a continuous refreshing and displaying process of frequency sweep data.

Description

The method of frequency spectrum data, equipment and system are obtained
Technical field
The present invention relates to spectrum analyzer technical field, particularly a kind of acquisition completes method, the equipment and system of frequency spectrum data.
Background technology
According to the relation of spectrum analyzer and PC, spectrum analyzer can be divided into two kinds: a kind of is the instrument of Based PC, and this instrument is built in PC, and the specific installation as PC exists, and the display keyboard of instrument itself etc. partly realize by the resource of PC; Another kind is embedded instrumentation, and the own set of system of instrument itself realizes its all functions, and as display, keyboard, Power supply etc., spectrum analyzer is connected with PC the resource fetching and use PC, the operation that PC realizes instrument by transmitting control command.
The second way is also referred to as host computer technology, PC end by self application tool software simulating to the control of instrument end, this software is based on spectrum analyzer basic function, with SCPI (Standard Commands for Programmable Instruments, standard commands for programmable instruments) command set and VISA (Virtual Instrument Software Architecture, virtual instrument software framework) drive as medium, the resource powerful by PC carries out spectrum analysis.This kind of software of general title PC end is " host computer ", and corresponding spectrum analyzer is called " slave computer ", and slave computer comprises data collecting card hardware and data acquisition card software.Fig. 1 is existing virtual instrument technique schematic diagram.
Due to the restriction of instrument cost, general instrument is all structured in embedded system, but the resource-constrained of embedded system (as storage space is little, arithmetic speed is low), cause various application limited.Embedded instrumentation alleviates this problem by using PC resource, and the SCPI order that " host computer " software that PC runs provides with reference to instrument completely controls to use instrument.
Below to obtain the order of spectrum analyzer current spectral data, illustrate how the PC of prior art controls to realize frequency spectrum data display to instrument.Hereinafter, the frequency sweep data that frequency sweep completes generation have been called frequency spectrum data, and the data that frequency sweep does not complete generation are called and do not complete frequency spectrum data.
Option A:
1) PC sends to slave computer and starts frequency sweep order;
2) whether PC uses the order inquiry frequency sweeps such as * OPC to terminate, if terminate to enter process 3, otherwise continues deterministic process 2;
3) if frequency sweep terminates, PC reads frequency sweep data.
The problem of this scheme is: because frequency sweep can continue always, and the data of reading may be the frequency sweep data containing outside this frequency sweep.And PC is in waiting status in process 2 always, cannot read the data in frequency sweep process, the efficiency reading data is very low.
Option b:
1) PC sends single wavelength sweep order to slave computer;
2) PC sends to slave computer and starts frequency sweep order;
3) whether PC uses the order inquiry frequency sweeps such as * OPC to terminate, if terminate to enter process 4, otherwise continues deterministic process 3;
4) frequency sweep data are read.
The program must use single wavelength sweep order could read one and complete frequency spectrum data.Instrument just stopped after completing a frequency sweep, if needing to continue to read just needs again to start frequency sweep action, it is mutual that the program adds between PC and instrument.Further, the same with option A, process 3 is in waiting status always, cannot read the data in frequency sweep process, and the efficiency reading data is very low.
Known by the analysis of above-mentioned example, the SCPI that the instrument of prior art provides is only for the function of instrument own, do not have the specific demand that the systematic PC of considering controls instrument, when carrying out spectrum analysis, PC end possibly cannot obtain frequency spectrum data, even if or obtained frequency spectrum data treatment effeciency also can be caused very low.
Summary of the invention
Method, equipment and system that the embodiment of the present invention provides a kind of acquisition to complete frequency spectrum data, cannot obtain to solve in prior art the problem that frequency spectrum data or acquisition complete frequency spectrum data inefficiency.
On the one hand, the embodiment of the present invention provides a kind of acquisition to complete the method for frequency spectrum data, and described method comprises: frequency sweep is completed generated frequency spectrum data and the frequency sweep of completing and do not complete the generated frequency spectrum data that do not complete and be stored in independently memory block respectively by spectrum analyzer; PC host computer sends frequency spectrum data read requests to described spectrum analyzer, comprises the frequency spectrum data type for reading in described request; Described spectrum analyzer receives described frequency spectrum data read requests, sends the frequency spectrum data of respective type to described PC host computer, and in sent frequency spectrum data, carry the marker bit whether frequency sweep state complete; Described PC host computer receives described frequency spectrum data, from described frequency spectrum data, parse marker bit, determines the frequency spectrum data type next time read according to described marker bit information, and performs the reading process of frequency spectrum data next time.
On the other hand, the embodiment of the present invention also provides a kind of acquisition to complete the system of frequency spectrum data, described system comprises: spectrum analyzer, frequency sweep is completed generated frequency spectrum data and the frequency sweep of completing and does not complete the generated frequency spectrum data that do not complete and be stored in independently memory block respectively; Receive the frequency spectrum data read requests that PC host computer sends, send the frequency spectrum data of respective type to described PC host computer, and in sent frequency spectrum data, carry the marker bit whether frequency sweep state complete; PC host computer, sends frequency spectrum data read requests to described spectrum analyzer, comprises the frequency spectrum data type for reading in described request; Receive described frequency spectrum data, from described frequency spectrum data, parse marker bit, determine the frequency spectrum data type next time read according to described marker bit information, and perform the reading process of frequency spectrum data next time.
Another aspect, the embodiment of the present invention also provides a kind of spectrum analyzer, described spectrum analyzer comprises: storage unit, does not complete the generated frequency spectrum data that do not complete be stored in independently memory block respectively for frequency sweep being completed generated frequency spectrum data and the frequency sweep of completing; Data transmission unit, for receiving the frequency spectrum data read requests that PC host computer sends, comprising the frequency spectrum data type for reading in described request, sending the frequency spectrum data of respective type to described PC host computer, and in sent frequency spectrum data, carry the marker bit whether frequency sweep state complete.
Also have on the one hand, the embodiment of the present invention also provides a kind of PC host computer, and described PC host computer comprises: receive processing unit, for sending frequency spectrum data read requests to spectrum analyzer, comprises the frequency spectrum data type for reading in described request; The frequency spectrum data that received spectrum analyser sends, carries the marker bit whether frequency sweep state completes in the frequency spectrum data received; According to the frequency spectrum data that time sequencing successively Graphics Processing receives; Mark resolution unit, for parsing described marker bit from described frequency spectrum data, determines the frequency spectrum data type next time read, and performs the reading process of frequency spectrum data next time according to the information of described marker bit.
Beneficial effect of the present invention is: the method for the embodiment of the present invention, equipment and system store respectively and do not complete frequency spectrum data by opening up two memory blocks in spectrum analyzer one end and complete frequency spectrum data; frequency spectrum data will be completed and carry out special protection; frequency sweep data can be read continuously (comprise frequency spectrum data to realize PC end in the process of instrument end frequency spectrum frequency sweep; comprise again and do not complete frequency spectrum data), hold host computer to refresh the feature presenting frequency spectrum instrument frequency sweep in the process of these data of display continuously at PC.
Accompanying drawing explanation
Fig. 1 is existing virtual instrument technique schematic diagram;
Fig. 2 is the overall flow figure of embodiment of the present invention method;
The systematic schematic diagram of Fig. 3 embodiment of the present invention;
Fig. 4 is the functional block diagram of embodiment of the present invention spectrum analyzer;
Fig. 5 is the functional block diagram of embodiment of the present invention PC host computer;
Fig. 6 is the detailed operational flow diagrams of embodiment of the present invention upper computer end;
Fig. 7 is the detailed operational flow diagrams of embodiment of the present invention slave computer end;
Fig. 8 is the schematic diagram not completing frequency spectrum data that the embodiment of the present invention reads;
Fig. 9 is the schematic diagram completing frequency spectrum data that the embodiment of the present invention reads.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
First the embodiment of the present invention provides a kind of acquisition to complete the method for frequency spectrum data, (both frequency spectrum data had been comprised to realize reading frequency sweep data continuously in the process of continuous frequency sweep, comprise again and do not complete frequency spectrum data), hold host computer continuous print to refresh the feature presenting frequency spectrum instrument frequency sweep in the process of these data of display at PC.
Fig. 2 is the overall flow figure of embodiment of the present invention method, and as shown in Figure 2, the method comprises:
Frequency sweep is completed generated frequency spectrum data and the frequency sweep of completing and does not complete the generated frequency spectrum data that do not complete and be stored in independently memory block respectively by S201, spectrum analyzer;
Frequency sweep needs the time, and its time much larger than the time of reading frequency sweep data, if will obtain frequency spectrum data, just may must wait for that it could read after completing a frequency sweep; But, also frequency sweep data can be read in frequency sweep process, can read when frequency sweep does not complete and not complete frequency spectrum data and (be called " dirty data ", need to abandon), frequency spectrum data can be read when frequency sweep completes (be called " net amount certificate ", need to retain), complete frequency spectrum data and be only there is break-up value.
Do not complete frequency spectrum data to ensure that PC can read in frequency sweep process and complete frequency spectrum data; the technical scheme of the embodiment of the present invention needs to store respectively not completing frequency spectrum data and completing frequency spectrum data at instrument end; frequency spectrum data will be completed and carry out special protection, just upgrade after PC reads.
Particularly, frequency sweep completes and generated completes the memory block that frequency spectrum data is stored in queue form by spectrum analyzer, frequency sweep is not completed generated not complete the memory block that frequency spectrum data is stored in non-queue form.
S202, PC host computer sends frequency spectrum data read requests to spectrum analyzer, comprises the frequency spectrum data type for reading in this request;
Alternatively, when PC host computer sends frequency spectrum data read requests to spectrum analyzer first, the frequency spectrum data type for reading comprised in this request is not for complete frequency spectrum data, that is, PC host computer does not complete frequency spectrum data to start the reading process of whole frequency spectrum data to read.Certainly, if instrument end has stored frequency spectrum data, so, PC host computer also first can read frequency spectrum data to start the reading process of whole frequency spectrum data.
S203, spectrum analyzer received spectrum data read request, send the frequency spectrum data of respective type to PC host computer, and in sent frequency spectrum data, carry the marker bit whether frequency sweep state complete;
Particularly, when spectrum analyzer complete there is frequency spectrum data in frequency spectrum data memory block time, spectrum analyzer carries the marker bit that frequency sweep completes in sent frequency spectrum data; When spectrum analyzer complete in frequency spectrum data memory block there is not frequency spectrum data time, spectrum analyzer carries the marker bit that frequency sweep does not complete in sent frequency spectrum data.
The technical scheme of the embodiment of the present invention adopts a sync mark to realize both synchronous in communication process, and whether instrument end has been existed frequency spectrum data by this sync mark is informed that PC holds.Instrument sends corresponding data according to PC read requests, and this sync mark can be carried on this and send to completing frequency spectrum data or not completing in frequency spectrum data of PC.This sync mark is added after completing frequency sweep by instrument end, is added in the information of communication, can be added on any position, as long as PC end can be resolved.
S204, PC host computer received spectrum data, parse this marker bit from frequency spectrum data, determine the frequency spectrum data type next time read according to this marker bit information, and perform the reading process of frequency spectrum data next time.
Particularly, when marker bit represents that frequency sweep does not complete, the frequency spectrum data type that PC host computer reads next time is not for complete frequency spectrum data; When marker bit represents that frequency sweep completes, the frequency spectrum data type that PC host computer reads next time is for completing frequency spectrum data.
Particularly, according to the frequency spectrum data situation of the current storage of instrument end, PC end can carry out following data read operation: when these data read are for completing frequency spectrum data, and when instrument end has also had frequency spectrum data, PC end has still read frequency spectrum data next time; When these data read are for completing frequency spectrum data, and when instrument end has not existed frequency spectrum data, PC end reads next time and does not complete frequency spectrum data; When these data read are not for complete frequency spectrum data, and when instrument end has had frequency spectrum data, PC end has read frequency spectrum data next time; When these data read are not for complete frequency spectrum data, and when instrument end has not existed frequency spectrum data, PC end still reads next time and does not complete frequency spectrum data.
PC end, by the inquiry instrument when obtaining frequency spectrum data at every turn, just can have been learnt whether frequency spectrum data exists, if existed, obtain frequency spectrum data, if there is no then obtained and do not complete frequency spectrum data.This special protection mechanism of instrument end and instrument end and the cooperation that PC holds be machine-processed to be made PC hold the same reading coherent can to complete frequency spectrum data with instrument end.Further, the program can realize reading in frequency sweep process and not complete frequency spectrum data and complete frequency spectrum data, and does not need to wait for that each frequency sweep completes as prior art and could read frequency spectrum data, improves the efficiency of reading data.
The method of the embodiment of the present invention also comprises: the frequency spectrum data of reading is stored in queue memory according to time sequencing by S205, PC host computer, by the frequency spectrum data that stores in queue memory according to time sequencing successively Graphics Processing.
The embodiment of the present invention also provides a kind of acquisition to complete the system of frequency spectrum data, and this system can realize the method for previous embodiment.Fig. 3 is the systematic schematic diagram of the embodiment of the present invention.As shown in Figure 3, the system of the present embodiment comprises: spectrum analyzer 301, frequency sweep is completed generated frequency spectrum data and the frequency sweep of completing and does not complete the generated frequency spectrum data that do not complete and be stored in independently memory block respectively; Receive the frequency spectrum data read requests that PC host computer sends, send the frequency spectrum data of respective type to PC host computer, and in sent frequency spectrum data, carry the marker bit whether frequency sweep state complete; PC host computer 302, sends frequency spectrum data read requests to spectrum analyzer 301, comprises the frequency spectrum data type for reading in request; Received spectrum data, parse marker bit from frequency spectrum data, determine the frequency spectrum data type next time read according to marker bit information, and perform the reading process of frequency spectrum data next time.
Particularly, as shown in Figure 3, the spectrum analyzer 301 of the present embodiment comprises: queue memory block 3011, completes generated complete frequency spectrum data for storing frequency sweep with queue form; Non-queue memory block 3012, does not complete generated do not complete frequency spectrum data for storing frequency sweep with non-queue form.
Particularly, as shown in Figure 3, the spectrum analyzer 301 of the present embodiment also comprises: complete frequency spectrum data transmitting element 3013, connects queue memory block 3011, the frequency spectrum data that completes sent for receiving PC host computer 302 sends request, and is sent completely frequency spectrum data to PC host computer 302; Do not complete frequency spectrum data transmitting element 3014, connect non-queue memory block 3012, the frequency spectrum data that do not complete sent for receiving PC host computer 302 sends request, and sends do not complete frequency spectrum data to PC host computer 302.
Particularly, as shown in Figure 3, the spectrum analyzer 301 of the present embodiment also comprises: frequency sweep dry state symbol unit 3015, connect frequency spectrum data transmitting element 3013 and do not completed frequency spectrum data transmitting element 3014, for when having there is frequency spectrum data in queue memory block 3011, generate frequency sweep and complete mark, and in sent frequency spectrum data, carry the marker bit that frequency sweep completes; When having there is not frequency spectrum data in queue memory block 3011, generating frequency sweep and not completed mark, and in sent frequency spectrum data, having carried the marker bit that frequency sweep do not complete.
Particularly, as shown in Figure 3, the PC host computer 302 of the present embodiment comprises: frequency spectrum data reading unit 3021, for sending frequency spectrum data read requests to spectrum analyzer 301 and receiving the frequency spectrum data read, comprises the frequency spectrum data type for reading in request; Frequency spectrum data storage unit 3022, connects frequency spectrum data reading unit 3021, for being stored in queue memory by the frequency spectrum data of reading according to time sequencing; Frequency spectrum data processing unit 3023, connects frequency spectrum data storage unit 3022, for the frequency spectrum data that will store in frequency spectrum data processing unit 3022 according to time sequencing successively Graphics Processing.
Particularly, as shown in Figure 3, the PC host computer 302 of the present embodiment also comprises: mark resolution unit 3024, connect frequency spectrum data reading unit 3021, for parsing marker bit information, when marker bit represents that frequency sweep does not complete, determine that the frequency spectrum data type next time read is not for complete frequency spectrum data; When marker bit represents that frequency sweep completes, determine that the frequency spectrum data type next time read is for completing frequency spectrum data.
Corresponding to the system of Fig. 3, the embodiment of the present invention also provides a kind of spectrum analyzer, Fig. 4 is the functional block diagram of this spectrum analyzer, as shown in Figure 4, this spectrum analyzer 301 comprises: storage unit 401, does not complete the generated frequency spectrum data that do not complete be stored in independently memory block respectively for frequency sweep being completed generated frequency spectrum data and the frequency sweep of completing; Data transmission unit 402, for receiving the frequency spectrum data read requests that PC host computer sends, comprising the frequency spectrum data type for reading in described request, sending the frequency spectrum data of respective type to described PC host computer, and in sent frequency spectrum data, carry the marker bit whether frequency sweep state complete.
Particularly, storage unit 401 comprises the queue memory block 3011 shown in Fig. 3 and non-queue memory block 3012; Data transmission unit 402 comprises completing frequency spectrum data transmitting element 3013, do not complete frequency spectrum data transmitting element 3014 and frequency sweep dry state symbol unit 3015 shown in Fig. 3.Owing to being described the detailed operation principle of spectrum analyzer 301 in Fig. 3, repeat no more herein.
Corresponding to the system of Fig. 3, the embodiment of the present invention also provides a kind of PC host computer, Fig. 5 is the functional block diagram of this PC host computer, as shown in Figure 5, PC host computer 302 comprises: receive processing unit 501, for sending frequency spectrum data read requests to spectrum analyzer, in described request, comprise the frequency spectrum data type for reading; The frequency spectrum data that received spectrum analyser sends, carries the marker bit whether frequency sweep state completes in the frequency spectrum data received; According to the frequency spectrum data that time sequencing successively Graphics Processing receives; Mark resolution unit 3024, for parsing described marker bit from described frequency spectrum data, determines the frequency spectrum data type next time read, and performs the reading process of frequency spectrum data next time according to the information of described marker bit.
Particularly, receive processing unit 501 and comprise the frequency spectrum data reading unit 3021 shown in Fig. 3, frequency spectrum data storage unit 3022 and frequency spectrum data processing unit 3023.Owing to being described the detailed operation principle of PC host computer 302 in Fig. 3, repeat no more herein.
Particularly, mark resolution unit 3024, for parsing described marker bit information, when described marker bit represents that frequency sweep does not complete, determines that the frequency spectrum data type next time read is not for complete frequency spectrum data; When described marker bit represents that frequency sweep completes, determine that the frequency spectrum data type next time read is for completing frequency spectrum data.
The PC upper computer end of the present embodiment system and the principle of work of slave computer end (i.e. spectrum analyzer) is described in detail below with a concrete example.
Fig. 6 is the detailed operational flow diagrams of embodiment of the present invention upper computer end.As shown in Figure 6, first PC upper computer end enters data read process, and the present embodiment does not complete frequency spectrum data with reading to start; Then, by judging that the reading of data is next time carried out in the sync mark in this communication process, if this mark represents that instrument end has existed frequency spectrum data, the data next time read are for completing frequency spectrum data, otherwise the data next time read are not for complete frequency spectrum data; Finally, the frequency spectrum data of acquisition is stored in data queue, and host computer data processing section processes data by reading data by its sequencing in queue, comprises display, computing etc.
Fig. 7 is the detailed operational flow diagrams of embodiment of the present invention slave computer end.Opened up two memory blocks at slave computer end, one is do not complete frequency spectrum data memory block, is used for storing not completing frequency spectrum data; One has been frequency spectrum data memory block, is used for storage to complete frequency spectrum data, does not wherein complete data storage area and adopts non-queue mode, and completes data storage area and adopt queue mode.As shown in Figure 7, slave computer end group determines the memory block of frequency spectrum data in frequency sweep state, and under different conditions, frequency sweep data enter different storage areas, and frequency sweep completes, just by the frequency spectrum data of generation stored in completing frequency spectrum data memory block; Frequency sweep does not complete, just by frequency sweep data stored in not completing data storage area.Data, if frequency sweep process completes, being joined the team completing frequency spectrum data queue memory block, being sent for completing frequency spectrum data by the process of transmitting that different storage area is corresponding different; Otherwise then not completing data storage area storage, sending for not completing frequency spectrum data.
Fig. 8 is the schematic diagram not completing frequency spectrum data that the embodiment of the present invention reads, and Fig. 9 is the schematic diagram completing frequency spectrum data that the embodiment of the present invention reads.The technical scheme of the embodiment of the present invention can ensure the succession of frequency spectrum data by the cooperation of host computer and slave computer, and this succession can ensure the analysis and validation to frequency spectrum data.Although do not complete frequency spectrum data memory block there will be loss of data situation with the storage of non-queue form, but do not participate in spectrum analysis so do not affect result of spectrum analysis owing to not completing frequency spectrum data, when frequency spectrum data processing module will simulate the effect of frequency sweep dynamic process when value shows refresh data successively from queue.
Method, the equipment and system of the embodiment of the present invention read frequency spectrum data based on the command forms of SCPI, to ensure that (not using single wavelength sweep to trigger) in the process of continuous frequency sweep can read frequency spectrum data continuously, the data read both had comprised frequency spectrum data, comprised again and did not complete frequency spectrum data.Refreshing at host computer continuous print in the process of these data of display and present the characteristic result of frequency spectrum instrument frequency sweep, making sensation when using frequency spectrograph host computer as use true instrument.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, this program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.

Claims (13)

1. acquisition completes a method for frequency spectrum data, it is characterized in that, described method comprises:
Frequency sweep is completed generated frequency spectrum data and the frequency sweep of completing and does not complete the generated frequency spectrum data that do not complete and be stored in independently memory block respectively by spectrum analyzer;
PC host computer sends frequency spectrum data read requests to described spectrum analyzer, comprises the frequency spectrum data type for reading in described request;
Described spectrum analyzer receives described frequency spectrum data read requests, sends the frequency spectrum data of respective type to described PC host computer, and in sent frequency spectrum data, carry the marker bit whether frequency sweep state complete;
Described PC host computer receives described frequency spectrum data, from described frequency spectrum data, parse marker bit, determines the frequency spectrum data type next time read according to described marker bit information, and performs the reading process of frequency spectrum data next time.
2. method according to claim 1, is characterized in that, frequency sweep is completed generated frequency spectrum data and the frequency sweep of completing and do not complete the generated frequency spectrum data that do not complete and be stored in independently memory block respectively and comprise by described spectrum analyzer:
Frequency sweep completes and generated completes the memory block that frequency spectrum data is stored in queue form by described spectrum analyzer, frequency sweep is not completed generated not complete the memory block that frequency spectrum data is stored in non-queue form.
3. method according to claim 1, is characterized in that, described PC host computer sends frequency spectrum data read requests to described spectrum analyzer, and the frequency spectrum data type comprised in described request for reading comprises:
When described PC host computer sends frequency spectrum data read requests to described spectrum analyzer first, the frequency spectrum data type for reading comprised in described request is not for complete frequency spectrum data.
4. method according to claim 1, is characterized in that, described spectrum analyzer carries the marker bit whether frequency sweep state complete and comprises in sent frequency spectrum data:
When described spectrum analyzer complete there is frequency spectrum data in frequency spectrum data memory block time, described spectrum analyzer carries the marker bit that frequency sweep completes in sent frequency spectrum data;
When described spectrum analyzer complete in frequency spectrum data memory block there is not frequency spectrum data time, described spectrum analyzer carries the marker bit that frequency sweep does not complete in sent frequency spectrum data.
5. method according to claim 1, is characterized in that, described PC host computer determines the frequency spectrum data type next time read according to described marker bit information, and the reading process performing frequency spectrum data next time comprises:
When described marker bit represents that frequency sweep does not complete, the frequency spectrum data type that described PC host computer reads next time is not for complete frequency spectrum data;
When described marker bit represents that frequency sweep completes, the frequency spectrum data type that described PC host computer reads next time is for completing frequency spectrum data.
6. method according to claim 1, is characterized in that, described method also comprises:
The frequency spectrum data of reading is stored in queue memory according to time sequencing by described PC host computer, by the frequency spectrum data that stores in described queue memory according to time sequencing successively Graphics Processing.
7. acquisition completes a system for frequency spectrum data, it is characterized in that, described system comprises:
Spectrum analyzer, does not complete the generated frequency spectrum data that do not complete be stored in independently memory block respectively for frequency sweep being completed generated frequency spectrum data and the frequency sweep of completing; With the frequency spectrum data read requests for receiving the transmission of PC host computer, the frequency spectrum data type for reading is comprised in described request, send the frequency spectrum data of respective type to described PC host computer, and in sent frequency spectrum data, carry the marker bit whether frequency sweep state complete;
PC host computer, for sending described frequency spectrum data read requests to described spectrum analyzer, receives described frequency spectrum data, and shows received frequency spectrum data successively according to time sequencing; With for parsing marker bit from described frequency spectrum data, determine the frequency spectrum data type next time read according to described marker bit information, and perform the reading process of frequency spectrum data next time.
8. a spectrum analyzer, is characterized in that, described spectrum analyzer comprises:
Storage unit, does not complete the generated frequency spectrum data that do not complete be stored in independently memory block respectively for frequency sweep being completed generated frequency spectrum data and the frequency sweep of completing;
Data transmission unit, for receiving the frequency spectrum data read requests that PC host computer sends, comprising the frequency spectrum data type for reading in described request, sending the frequency spectrum data of respective type to described PC host computer, and in sent frequency spectrum data, carry the marker bit whether frequency sweep state complete.
9. spectrum analyzer according to claim 8, is characterized in that, described storage unit comprises:
Queue memory block, completes generated complete frequency spectrum data for storing frequency sweep with queue form;
Non-queue memory block, does not complete generated do not complete frequency spectrum data for storing frequency sweep with non-queue form.
10. spectrum analyzer according to claim 9, is characterized in that, described data transmission unit comprises:
Complete frequency spectrum data transmitting element, connect described queue memory block, the frequency spectrum data that completes sent for receiving PC host computer sends request, and is sent completely frequency spectrum data to described PC host computer;
Do not complete frequency spectrum data transmitting element, connect described non-queue memory block, the frequency spectrum data that do not complete sent for receiving PC host computer sends request, and sends do not complete frequency spectrum data to described PC host computer;
Frequency sweep dry state symbol unit, complete frequency spectrum data transmitting element described in connection and describedly do not complete frequency spectrum data transmitting element, for when having there is frequency spectrum data in described queue memory block, generating frequency sweep and having completed mark, and in sent frequency spectrum data, having carried the marker bit that frequency sweep completes; When having there is not frequency spectrum data in described queue memory block, generating frequency sweep and not completed mark, and in sent frequency spectrum data, having carried the marker bit that frequency sweep do not complete.
11. 1 kinds of PC host computers, is characterized in that, described PC host computer comprises:
Receiving processing unit, for sending frequency spectrum data read requests to spectrum analyzer, in described request, comprising the frequency spectrum data type for reading; The frequency spectrum data that received spectrum analyser sends, carries the marker bit whether frequency sweep state completes in the frequency spectrum data received; According to the frequency spectrum data that time sequencing successively Graphics Processing receives;
Mark resolution unit, for parsing described marker bit from described frequency spectrum data, determines the frequency spectrum data type next time read, and performs the reading process of frequency spectrum data next time according to the information of described marker bit.
12. PC host computers according to claim 11, is characterized in that, described reception processing unit comprises:
Frequency spectrum data reading unit, for sending frequency spectrum data read requests and received spectrum data to described spectrum analyzer, comprises the frequency spectrum data type for reading in described request;
Frequency spectrum data storage unit, connects described frequency spectrum data reading unit, for being stored in queue memory by the frequency spectrum data of reception according to time sequencing;
Frequency spectrum data processing unit, connects described frequency spectrum data storage unit, for being shown successively according to time sequencing by the frequency spectrum data stored in described frequency spectrum data storage unit.
13. PC host computers according to claim 11, is characterized in that,
Described mark resolution unit, specifically for parsing described marker bit information, when described marker bit represents that frequency sweep does not complete, determines that the frequency spectrum data type next time read is not for complete frequency spectrum data; When described marker bit represents that frequency sweep completes, determine that the frequency spectrum data type next time read is for completing frequency spectrum data.
CN201010531106.6A 2010-11-03 2010-11-03 Method and system for obtaining completed spectral data and apparatuses Active CN102466761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010531106.6A CN102466761B (en) 2010-11-03 2010-11-03 Method and system for obtaining completed spectral data and apparatuses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010531106.6A CN102466761B (en) 2010-11-03 2010-11-03 Method and system for obtaining completed spectral data and apparatuses

Publications (2)

Publication Number Publication Date
CN102466761A CN102466761A (en) 2012-05-23
CN102466761B true CN102466761B (en) 2015-05-20

Family

ID=46070661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010531106.6A Active CN102466761B (en) 2010-11-03 2010-11-03 Method and system for obtaining completed spectral data and apparatuses

Country Status (1)

Country Link
CN (1) CN102466761B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110726874B (en) * 2019-10-29 2021-11-19 中国科学院微电子研究所 D/A data acquisition and analysis method based on remote frequency spectrograph communication

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101344556A (en) * 2008-09-03 2009-01-14 北京航空航天大学 Method for enlarging effective dynamic range in electromagnetic compatibility test

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8055465B2 (en) * 2007-07-09 2011-11-08 International Business Machines Corporation Method, data processing program and computer program product for determining a periodic cycle of time series data
JP5026916B2 (en) * 2007-10-19 2012-09-19 株式会社日立ハイテクノロジーズ Plasma processing equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101344556A (en) * 2008-09-03 2009-01-14 北京航空航天大学 Method for enlarging effective dynamic range in electromagnetic compatibility test

Also Published As

Publication number Publication date
CN102466761A (en) 2012-05-23

Similar Documents

Publication Publication Date Title
CN107797846B (en) Soc chip verification method
CN201583832U (en) Novel portable PLC programming device
CN111756858B (en) Remote development processing system, method and device for embedded equipment
CN113407393A (en) Chip verification method, terminal device, verification platform and storage medium
Yang et al. A novel bus transfer mode (AS transfer) and a performance evaluation methodology
CN102466761B (en) Method and system for obtaining completed spectral data and apparatuses
CN108196861A (en) A kind of data updating method and its diagnostic device
CN102110045B (en) Simulator for displaying debugging information in real time
WO2013112145A1 (en) User generated data center power savings
CN101256684A (en) Vehicle information recorder of hybrid power vehicle
WO2014000299A1 (en) Serial port redirection processing method, device, and system
CN111045667B (en) Graphical programming system based on Lua script
CN105490857B (en) A kind of FC network equipment logic remote update system
CN102635379B (en) Online program updating method for hydraulic support controllers
CN110928707A (en) Data exchange method and related device for host machine and virtual machine
CN114567445A (en) Signature verification data transmission method, device, equipment and medium
CN102597965B (en) Operation verification device, operation verification method
CN115454881A (en) Debugging system and debugging method of RISC-V architecture
CN102568602B (en) Flash memory development system
CN101751283A (en) Virtual machine monitor, virtual machine system and client operation system state acquiring method
CN109725621A (en) A kind of secondary bus program based on 1553B bus and CAN bus is in line writing method
CN201345051Y (en) Touch sensitive display system for locomotive
CN113986807B (en) Protocol conversion method and protocol converter for USB bus and PC104 bus
CN104933086A (en) Data processing method and device
CN109639847A (en) A kind of equipment that writing with a brush dipped in Chinese ink MAC Address, method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant