CN105182071A - Method for improving spectrum display speed of digital television tester - Google Patents
Method for improving spectrum display speed of digital television tester Download PDFInfo
- Publication number
- CN105182071A CN105182071A CN201510634199.8A CN201510634199A CN105182071A CN 105182071 A CN105182071 A CN 105182071A CN 201510634199 A CN201510634199 A CN 201510634199A CN 105182071 A CN105182071 A CN 105182071A
- Authority
- CN
- China
- Prior art keywords
- time
- drawing function
- hardware
- screen display
- calling
- 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.)
- Pending
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a method for improving the spectrum display speed of a digital television tester. The spectrum display speed of a digital television tester is decided by a collection time of a hardware circuit and a time of drawing a graph to display collection results on a screen. The collection time of the hardware circuit is different under different parameter settings. The spectrum display speed of the instrument can be improved by reasonable drawing function calling. The invention provides a method of dynamic drawing function calling. Through determining the collection time of the hardware circuit under different parameter settings and the time of a drawing function, the method decides how to call the drawing function to improve the display speed.
Description
Technical field
The present invention relates to digital CATV detector field, specifically a kind of method improving digital CATV detector frequency spectrum display speed.
Background technology
Digital CATV detector is the special testing tool of digital television broadcasting system, and its spectrum analysis function can to the RF index test in digital television broadcasting system transport layer.
Spectrum analysis is frequency and the power set of observation signal, and graphically represent, transverse axis represents frequency on the display screen, the longitudinal axis represents useful power, the horizontal pixel number of instrument frequency spectrum viewing area is called that screen display is counted, the frequency that first screen display point is corresponding is the initial frequency of instrument, the frequency that last screen display point is corresponding is the termination frequency of instrument, be called from initial frequency to the band width stopped frequency and sweep wide (SPAN), frequency interval is the frequency span value that each screen display point is corresponding, obtain by sweeping wide to count divided by screen display.The ability of two input signals clearly isolated in the response by resolution representation instrument, its corresponding intermediate-frequency bandwidth, conventional resolution bandwidth (RBW) represents, resolution bandwidth is less, the frequency resolution of instrument is higher, general instrument all provides several different resolution bandwidth, and the sweep time that under different resolution bandwidth, hardware circuit expends is not identical yet.Screen display point one or more frequency sweep point corresponding, sweeps frequency points and is obtained divided by resolution bandwidth by frequency interval.
The existing testing process of spectrum analysis is (as shown in Figure 1): during test, CPU is by first screen display point correspondence scanning initial frequency, frequency sweep is counted, current resolution bandwidth issues frequency-variable module, sending out frequency sweep counts to ifd module, send new data flag simultaneously, control instrument hardware circuit starts scanning, after CPU receives detection numerical value look-at-me, read detection numerical value and carry out corresponding data processing, call drawing function on screen, show value of frequency point drafting spectrum curve, then then test and show next screen display point, until all screen display point test displays complete.
It is exactly when screen display point is more that this flow process exists a problem, calls drawing function frequently and display speed can be caused slack-off, affect the operational efficiency of complete machine.In order to improve frequency spectrum display speed, usual way adopts hardware platform or the software engineerings such as high performance CPU.These methods all need to carry out larger change to the hardware platform of existing instrument and software platform, raise the cost, simultaneously higher to the level requirement of designer, improve the complexity of overall design.In some certain applications, instrument develop the reason being limited by volume and cost, the selection of hardware platform and software platform is limited, in the case, how to use a kind of method of simple and fast to improve display speed to reach good display effect and become those skilled in the art and have technical barrier to be solved.
summary of the inventionthe object of this invention is to provide a kind of method improving digital CATV detector frequency spectrum display speed, to solve prior art Problems existing.
In order to achieve the above object, the technical solution adopted in the present invention is:
A kind of method improving digital CATV detector frequency spectrum display speed, it is characterized in that: adopt dynamic call drawing function, calculate the time Tb that a gatherer process of hardware is used, and call the time Tc that drawing function needs in screen display result, by judging a gatherer process of hardware is used under different setting model time Tb and calling the size of the time Tc that drawing function needs in screen display result, decide how to call drawing function, comprise the following steps:
(1) the time Tc calling drawing function and needs in screen display result, is obtained: average after making drawing function execution N time, current system time T1 is read by obtaining system time function before drawing function performs, drawing function performs N time, after completing the reading system time T2, Tc=(T2-T1)/N;
(2) the time Tb that a gatherer process of hardware is used, is obtained: under calculating different resolution bandwidth, hardware gathers a frequency sweep point required time RBWT_TIME, frequency interval obtains frequency sweep divided by current resolution bandwidth and to count n, then the time Tb=RBWT_TIME*n that a gatherer process of hardware is used;
(3), when calling drawing function, judging the size of Tb and Tc, if Tb is more than or equal to Tc, then calling a drawing function, display result; If Tb is less than Tc, then every m=Tc/Tb screen display point, call a drawing function, display result, wherein m round numbers.
The present invention effectively can save CPU overhead, improves frequency spectrum display speed and complete machine operational efficiency, implements simple and fast, do not need to change the complete machine Platform of hardware of instrument.
Accompanying drawing explanation
Fig. 1 is existing spectrum measurement flow for displaying figure.
Fig. 2 is based on spectrum measurement flow for displaying figure of the present invention.
Embodiment
A kind of method improving digital CATV detector frequency spectrum display speed, adopt dynamic call drawing function, calculate the time Tb that a gatherer process of hardware is used, and call the time Tc that drawing function needs in screen display result, by judging a gatherer process of hardware is used under different setting model time Tb and calling the size of the time Tc that drawing function needs in screen display result, decide how to call drawing function, comprise the following steps:
(1) the time Tc calling drawing function and need in screen display result, is obtained: average after making drawing function perform 10000 times, current system time T1 is read by obtaining system time function before drawing function performs, drawing function performs 10000 times, after completing the reading system time T2, Tc=(T2-T1)/10000;
(2) the time Tb that a gatherer process of hardware is used, is obtained: under calculating different resolution bandwidth, hardware gathers a frequency sweep point required time RBWT_TIME, frequency interval obtains frequency sweep divided by current resolution bandwidth and to count n, then the time Tb=RBWT_TIME*n that a gatherer process of hardware is used;
(3), when calling drawing function, judging the size of Tb and Tc, if Tb is more than or equal to Tc, then calling a drawing function, display result; If Tb is less than Tc, then every m=Tc/Tb screen display point, call a drawing function, display result, wherein m round numbers.
To test and the T.T. Ta showing a screen display point is by hardware gatherer process time Tb used and calls a drawing function and determine at time Tc two parts of screen display result needs.Reduce the time that Ta is used, can CPU overhead be saved, improve display speed and complete machine operational efficiency.
The time Tb that a gatherer process of hardware is used is different under different resolution bandwidths and frequency interval, under identical resolution bandwidth, hardware circuit scans the time of a frequency sweep point is fixing, the process gathering a screen display spot check wave number can be divided into the process to one or more frequency sweep spot scan, and therefore Tb is the time of scanning needed for a frequency sweep point and sweep the product of frequency points under current resolution bandwidth.
The time Tc that calling drawing function needs in screen display result is fixing, and this is determined by the Platform of hardware of testing tool itself, can test out concrete time value.
By analysis above, the value reducing Tc can make the value of T.T. Ta reduce.Because the time of calling a drawing function is fixing, the number of times calling drawing function can be reduced, reach the object that T.T. Ta reduces.
In the process of whole test and display, in order to make spectrum curve display effect better, within the time that user accepts, spectrum curve to be shown as far as possible, simultaneously in the process of display, ensure the effect that spectrum curve has pointwise to show from left to right, reduce the phenomenon of pausing, jumping, dynamic call drawing function (as shown in Figure 2) as follows:
If 1 hardware acquisition time is greater than or equal to the drawing function time, in this case, hardware acquisition time is relatively large, in order to ensure that pointwise gathers an effect just collection screen display point of display screen display point, call a drawing function, draw spectrum curve, display result.
If 2 hardware acquisition times are less than the drawing function time, in this case, it is relatively large that the screen drawing time takies CPU, by calculating and testing, often gather Tc/Tb(round numbers) call a drawing function batch display screen display point after individual screen display point, which reduce the number of times calling drawing function, save CPU overhead, simultaneously due to the time less of entirety, collection very fast from left to right and display to the sensation spectrum curve of user, do not have the sensation that display pauses, jumps, reach good display effect.
Claims (1)
1. one kind is improved the method for digital CATV detector frequency spectrum display speed, it is characterized in that: adopt dynamic call drawing function, calculate the time Tb that a gatherer process of hardware is used, and call the time Tc that drawing function needs in screen display result, by judging a gatherer process of hardware is used under different setting model time Tb and calling the size of the time Tc that drawing function needs in screen display result, decide how to call drawing function, comprise the following steps:
(1) the time Tc calling drawing function and needs in screen display result, is obtained: average after making drawing function execution N time, current system time T1 is read by obtaining system time function before drawing function performs, drawing function performs N time, after completing the reading system time T2, Tc=(T2-T1)/N;
(2) the time Tb that a gatherer process of hardware is used, is obtained: under calculating different resolution bandwidth, hardware gathers a frequency sweep point required time RBWT_TIME, frequency interval obtains frequency sweep divided by current resolution bandwidth and to count n, then the time Tb=RBWT_TIME*n that a gatherer process of hardware is used;
(3), when calling drawing function, judging the size of Tb and Tc, if Tb is more than or equal to Tc, then calling a drawing function, display result; If Tb is less than Tc, then every m=Tc/Tb screen display point, call a drawing function, display result, wherein m round numbers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510634199.8A CN105182071A (en) | 2015-09-29 | 2015-09-29 | Method for improving spectrum display speed of digital television tester |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510634199.8A CN105182071A (en) | 2015-09-29 | 2015-09-29 | Method for improving spectrum display speed of digital television tester |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105182071A true CN105182071A (en) | 2015-12-23 |
Family
ID=54904288
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510634199.8A Pending CN105182071A (en) | 2015-09-29 | 2015-09-29 | Method for improving spectrum display speed of digital television tester |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105182071A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6272172B1 (en) * | 1998-03-31 | 2001-08-07 | Tektronix, Inc. | Measurement acquisition and display apparatus |
JP2001235489A (en) * | 1999-12-21 | 2001-08-31 | Tektronix Inc | Frequency-region analyzer for time-region measuring apparatus |
CN104316764A (en) * | 2014-09-25 | 2015-01-28 | 中国电子科技集团公司第四十一研究所 | Spectrum analyzer control and measurement parallel processing method |
CN104699435A (en) * | 2015-02-12 | 2015-06-10 | 深圳市鼎阳科技有限公司 | Data processing method and device for digital spectrum analyzer |
CN104914307A (en) * | 2015-04-23 | 2015-09-16 | 深圳市鼎阳科技有限公司 | Frequency spectrograph and multi-parameter parallel frequency-sweeping frequency spectrum measurement method thereof |
-
2015
- 2015-09-29 CN CN201510634199.8A patent/CN105182071A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6272172B1 (en) * | 1998-03-31 | 2001-08-07 | Tektronix, Inc. | Measurement acquisition and display apparatus |
JP2001235489A (en) * | 1999-12-21 | 2001-08-31 | Tektronix Inc | Frequency-region analyzer for time-region measuring apparatus |
CN104316764A (en) * | 2014-09-25 | 2015-01-28 | 中国电子科技集团公司第四十一研究所 | Spectrum analyzer control and measurement parallel processing method |
CN104699435A (en) * | 2015-02-12 | 2015-06-10 | 深圳市鼎阳科技有限公司 | Data processing method and device for digital spectrum analyzer |
CN104914307A (en) * | 2015-04-23 | 2015-09-16 | 深圳市鼎阳科技有限公司 | Frequency spectrograph and multi-parameter parallel frequency-sweeping frequency spectrum measurement method thereof |
Non-Patent Citations (2)
Title |
---|
孙英侠 等: ""频谱分析原理及频谱分析仪使用技巧"", 《应用天地》 * |
郭小文: ""数字扫描在频谱分析仪中的设计与实现"", 《科技信息》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2228660B1 (en) | Frequency domain bitmaps triggering using color, density and correlation based triggering | |
US8872504B2 (en) | Method for automatically setting frequency span in a spectrum analyzer | |
US11280809B2 (en) | Method and apparatus for processing oscilloscope signal and oscilloscope | |
US8706435B2 (en) | Signal detection and triggering using a difference bitmap | |
JP5837324B2 (en) | Density trace generation method and test measurement equipment | |
CN102539864B (en) | Digital oscilloscope and signal measurement method | |
CN103777048A (en) | Internal chirp generator with time aligned acquisition in a mixed-domain oscilloscope | |
CN108322737B (en) | Method and device for measuring camera shooting frame rate | |
CN106249185B (en) | Impedance matching unit, system and method for calibrating high-frequency current sensor | |
US9874587B1 (en) | One-pass trigger jitter reduction for digital instruments | |
CN103837725A (en) | Combinatorial mask triggering in time or frequency domain | |
CN114362853A (en) | Techniques to detect wireless communication interference from a wired communication channel | |
CN114325534A (en) | Signal testing method, device, equipment and readable storage medium | |
CN108982941A (en) | A kind of method for real-time measurement and device, oscillograph, storage medium of period frequency | |
JP6619545B2 (en) | Test measurement device and waveform acquisition method | |
CN108571998B (en) | Automatic setting of alarm limits | |
CN104459497A (en) | Device for measuring and analyzing partial discharge under surge voltage | |
CN105182071A (en) | Method for improving spectrum display speed of digital television tester | |
CN103698639B (en) | Crystal oscillator waveform parameter automatic measurement system and method | |
CN103533605A (en) | Frequency sweeping method and device of user terminal | |
CN102300116B (en) | Rapid detection method of video resolution and apparatus thereof | |
US20170353590A1 (en) | Method and Device for Grounding Adjustment | |
CN107329000B (en) | Sampling monitoring device and sampling monitoring method for electromagnetic compatibility test | |
JP2014066707A (en) | Methods and systems for displaying triggered waveform record segments | |
JP6401898B2 (en) | Test measurement device and method in test measurement device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151223 |
|
RJ01 | Rejection of invention patent application after publication |